From 1aabd6038eaf5a6643318a11f18692b172a77375 Mon Sep 17 00:00:00 2001 From: ulfvonbelow Date: Sun, 29 Jan 2023 08:06:31 -0600 Subject: [PATCH] UTIL: fix memory leak in test. This allows us to use sanitizers to find bugs that matter. --- 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; } -- 2.38.1