gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -fix leak


From: gnunet
Subject: [gnunet] branch master updated: -fix leak
Date: Wed, 29 Dec 2021 18:41:36 +0100

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

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 2536cd090 -fix leak
2536cd090 is described below

commit 2536cd090b7e467e604cf5cfe5d1d93b32431876
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Dec 29 18:41:24 2021 +0100

    -fix leak
---
 src/datastore/gnunet-service-datastore.c | 3 ++-
 src/pq/pq_connect.c                      | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/datastore/gnunet-service-datastore.c 
b/src/datastore/gnunet-service-datastore.c
index 97888ce03..498a7b3e6 100644
--- a/src/datastore/gnunet-service-datastore.c
+++ b/src/datastore/gnunet-service-datastore.c
@@ -599,7 +599,8 @@ handle_reserve (void *cls, const struct ReserveMessage *msg)
        * message happens, the insertion request could be blocked
        * by less-important content from migration because it is
        * larger than 1/8th of the overall available space, and
-       * we only reserve 1/8th for "fresh" insertions */GNUNET_log (
+       * we only reserve 1/8th for "fresh" insertions */
+      GNUNET_log (
         GNUNET_ERROR_TYPE_WARNING,
         _ (
           "The requested amount (%llu bytes) is larger than the cache size 
(%llu bytes)\n"),
diff --git a/src/pq/pq_connect.c b/src/pq/pq_connect.c
index a63d5f14e..5fea994ef 100644
--- a/src/pq/pq_connect.c
+++ b/src/pq/pq_connect.c
@@ -122,6 +122,7 @@ GNUNET_PQ_connect2 (const char *config_str,
   GNUNET_PQ_reconnect (db);
   if (NULL == db->conn)
   {
+    GNUNET_CONTAINER_multishortmap_destroy (db->channel_map);
     GNUNET_free (db->load_path);
     GNUNET_free (db->config_str);
     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]