gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: pq: cleanup oid-lookup table


From: gnunet
Subject: [gnunet] branch master updated: pq: cleanup oid-lookup table
Date: Sun, 30 Jul 2023 00:35:14 +0200

This is an automated email from the git hooks/post-receive script.

oec pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 3043c0599 pq: cleanup oid-lookup table
3043c0599 is described below

commit 3043c0599aa494aba462771832f3e2cbe6616646
Author: Özgür Kesim <oec-taler@kesim.org>
AuthorDate: Sun Jul 30 00:35:09 2023 +0200

    pq: cleanup oid-lookup table
---
 src/pq/pq_connect.c | 4 ++++
 1 file changed, 4 insertions(+)

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);
 }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]