aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-26 20:35:36 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-26 20:35:36 +0200
commitc1ce2a03ed24769af970985b07c30fc2c434526c (patch)
tree3bf1ae09fae03d7e6b3cc0b9d6cd2109f6a82ef3
parent5da22c60de9e79081a10f6ea70266a8032aa52c1 (diff)
downloadexchange-c1ce2a03ed24769af970985b07c30fc2c434526c.tar.gz
exchange-c1ce2a03ed24769af970985b07c30fc2c434526c.zip
fix NPE
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index a36664fdc..eaca40936 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -542,7 +542,7 @@ db_conn_destroy (void *cls)
542 db_conn = session->conn; 542 db_conn = session->conn;
543 session->conn = NULL; 543 session->conn = NULL;
544 if (NULL != db_conn) 544 if (NULL != db_conn)
545 GNUNET_PQ_disconnect (session->conn); 545 GNUNET_PQ_disconnect (db_conn);
546 GNUNET_free (session); 546 GNUNET_free (session);
547} 547}
548 548