diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-07-30 00:35:09 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-07-30 00:35:09 +0200 |
commit | 3043c0599aa494aba462771832f3e2cbe6616646 (patch) | |
tree | 71fc95567c013db04bbf61381f765b6c3834522e /src | |
parent | 80f5ce941d40ddffdc592a6428b4c54df00ebb28 (diff) | |
download | gnunet-3043c0599aa494aba462771832f3e2cbe6616646.tar.gz gnunet-3043c0599aa494aba462771832f3e2cbe6616646.zip |
pq: cleanup oid-lookup table
Diffstat (limited to 'src')
-rw-r--r-- | src/pq/pq_connect.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) | |||
693 | GNUNET_free (db->load_path); | 693 | GNUNET_free (db->load_path); |
694 | GNUNET_free (db->auto_suffix); | 694 | GNUNET_free (db->auto_suffix); |
695 | GNUNET_free (db->config_str); | 695 | GNUNET_free (db->config_str); |
696 | GNUNET_free (db->oids.table); | ||
697 | db->oids.table = NULL; | ||
698 | db->oids.num = 0; | ||
699 | db->oids.cap = 0; | ||
696 | PQfinish (db->conn); | 700 | PQfinish (db->conn); |
697 | GNUNET_free (db); | 701 | GNUNET_free (db); |
698 | } | 702 | } |