From ef2965816109cdf116b91cd838163b294c70057a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 24 Nov 2021 00:25:17 +0100 Subject: fix #7107 --- src/exchangedb/plugin_exchangedb_postgres.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/exchangedb') 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; -- cgit v1.2.3