From 491979ce510a5dd0f7afd7630a4e3ba55f1c5f37 Mon Sep 17 00:00:00 2001 From: ulfvonbelow Date: Sun, 29 Jan 2023 08:06:31 -0600 Subject: UTIL: fix memory leak in test. This allows us to use sanitizers to find bugs that matter. Signed-off-by: Martin Schanzenbach --- src/util/test_common_allocation.c | 1 + 1 file changed, 1 insertion(+) 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) a1, 5)); GNUNET_assert (5 == a1_len); + GNUNET_free (a1); return 0; } -- cgit v1.2.3