summaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index ce67dce37..2c863a323 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -168,6 +168,7 @@ postgres_drop_tables (void *cls)
if (NULL != pg->conn)
{
GNUNET_PQ_disconnect (pg->conn);
+ pg->conn = NULL;
pg->init = false;
}
return GNUNET_OK;