aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorulfvonbelow <strilen@tilde.club>2023-01-29 08:06:31 -0600
committerMartin Schanzenbach <schanzen@gnunet.org>2023-02-06 13:32:33 +0900
commit491979ce510a5dd0f7afd7630a4e3ba55f1c5f37 (patch)
treec9ae850a3b93d60ee41bfae72496300b345de08c
parent3b5473735cb495ca50139adeb27e5135accaa22d (diff)
downloadgnunet-491979ce510a5dd0f7afd7630a4e3ba55f1c5f37.tar.gz
gnunet-491979ce510a5dd0f7afd7630a4e3ba55f1c5f37.zip
UTIL: fix memory leak in test.
This allows us to use sanitizers to find bugs that matter. Signed-off-by: Martin Schanzenbach <schanzen@gnunet.org>
-rw-r--r--src/util/test_common_allocation.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/test_common_allocation.c b/src/util/test_common_allocation.c
index e262b696e..d4cc4bb58 100644
--- a/src/util/test_common_allocation.c
+++ b/src/util/test_common_allocation.c
@@ -154,6 +154,7 @@ check2 (void)
154 a1, 154 a1,
155 5)); 155 5));
156 GNUNET_assert (5 == a1_len); 156 GNUNET_assert (5 == a1_len);
157 GNUNET_free (a1);
157 return 0; 158 return 0;
158} 159}
159 160