gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] 05/28: -DATACACHE: fix memory leaks in tests.


From: gnunet
Subject: [gnunet] 05/28: -DATACACHE: fix memory leaks in tests.
Date: Mon, 06 Feb 2023 06:19:07 +0100

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

commit 4b72d6b5decb913ecaa4833a061ee73aeb1d1d10
Author: ulfvonbelow <strilen@tilde.club>
AuthorDate: Sun Jan 29 07:10:14 2023 -0600

    -DATACACHE: fix memory leaks in tests.
    
    This allows us to use sanitizers to find bugs that matter.
    
    Signed-off-by: Martin Schanzenbach <schanzen@gnunet.org>
---
 src/datacache/test_datacache.c       | 1 +
 src/datacache/test_datacache_quota.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/datacache/test_datacache.c b/src/datacache/test_datacache.c
index fd5a5f54c..5392f6b17 100644
--- a/src/datacache/test_datacache.c
+++ b/src/datacache/test_datacache.c
@@ -198,6 +198,7 @@ main (int argc, char *argv[])
     fprintf (stderr,
              "Missed some testcases: %d\n",
              ok);
+  GNUNET_free (plugin_name);
   return ok;
 }
 
diff --git a/src/datacache/test_datacache_quota.c 
b/src/datacache/test_datacache_quota.c
index 994147a64..0ad7fb8a4 100644
--- a/src/datacache/test_datacache_quota.c
+++ b/src/datacache/test_datacache_quota.c
@@ -186,6 +186,7 @@ main (int argc,
     fprintf (stderr,
              "Missed some testcases: %d\n",
              ok);
+  GNUNET_free (plugin_name);
   return ok;
 }
 

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