diff options
author | ulfvonbelow <strilen@tilde.club> | 2023-01-29 06:46:57 -0600 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-02-06 14:00:27 +0900 |
commit | 207d866701897c9f0bf6341561e8f2194eec2b49 (patch) | |
tree | 7b05b92c0e173ddd0b5638d30873407a26496534 /src/namestore/test_namestore_api_zone_to_name.c | |
parent | f7a3ef7b46311a01d5934a52b2fc0962f833a73f (diff) | |
download | gnunet-207d866701897c9f0bf6341561e8f2194eec2b49.tar.gz gnunet-207d866701897c9f0bf6341561e8f2194eec2b49.zip |
-NAMESTORE: fix memory leaks in tests.
This allows us to use sanitizers to find bugs that matter.
Signed-off-by: Martin Schanzenbach <schanzen@gnunet.org>
Diffstat (limited to 'src/namestore/test_namestore_api_zone_to_name.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_to_name.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namestore/test_namestore_api_zone_to_name.c b/src/namestore/test_namestore_api_zone_to_name.c index dfdefa039..a99b7bc71 100644 --- a/src/namestore/test_namestore_api_zone_to_name.c +++ b/src/namestore/test_namestore_api_zone_to_name.c | |||
@@ -257,6 +257,7 @@ main (int argc, | |||
257 | } | 257 | } |
258 | GNUNET_DISK_purge_cfg_dir (cfg_name, | 258 | GNUNET_DISK_purge_cfg_dir (cfg_name, |
259 | "GNUNET_TEST_HOME"); | 259 | "GNUNET_TEST_HOME"); |
260 | GNUNET_free (plugin_name); | ||
260 | GNUNET_free (cfg_name); | 261 | GNUNET_free (cfg_name); |
261 | return res; | 262 | return res; |
262 | } | 263 | } |