gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: -fix memleak


From: gnunet
Subject: [gnunet] branch master updated: -fix memleak
Date: Wed, 28 Jul 2021 21:06:33 +0200

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

dold pushed a commit to branch master
in repository gnunet.

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

commit ff78b7b4003aa33e05c9f30125afdfff24c98eae
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Jul 28 21:03:14 2021 +0200

    -fix memleak
---
 src/util/configuration.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/util/configuration.c b/src/util/configuration.c
index 016088eee..1ba9aab05 100644
--- a/src/util/configuration.c
+++ b/src/util/configuration.c
@@ -526,6 +526,8 @@ handle_inline (struct GNUNET_CONFIGURATION_Handle *cfg,
       }
       if (source_filename)
       {
+        /* Possible that this secret section has been inlined before */
+        GNUNET_free (cs->hint_inlined_from_filename);
         cs->hint_inlined_from_filename = GNUNET_strdup (source_filename);
         cs->hint_inlined_from_line = source_lineno;
       }

-- 
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]