From 3043c0599aa494aba462771832f3e2cbe6616646 Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Sun, 30 Jul 2023 00:35:09 +0200 Subject: pq: cleanup oid-lookup table --- src/pq/pq_connect.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/pq/pq_connect.c') diff --git a/src/pq/pq_connect.c b/src/pq/pq_connect.c index 5a42d1ae9..c46d865a3 100644 --- a/src/pq/pq_connect.c +++ b/src/pq/pq_connect.c @@ -693,6 +693,10 @@ GNUNET_PQ_disconnect (struct GNUNET_PQ_Context *db) GNUNET_free (db->load_path); GNUNET_free (db->auto_suffix); GNUNET_free (db->config_str); + GNUNET_free (db->oids.table); + db->oids.table = NULL; + db->oids.num = 0; + db->oids.cap = 0; PQfinish (db->conn); GNUNET_free (db); } -- cgit v1.2.3