summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/perf_malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/perf_malloc.c b/src/util/perf_malloc.c
index 1c91402da..ea25148ec 100644
--- a/src/util/perf_malloc.c
+++ b/src/util/perf_malloc.c
@@ -36,7 +36,7 @@ perf_malloc ()
for (size_t i = 1; i < 1024 * 1024; i += 1024)
{
ret += i;
- GNUNET_free (GNUNET_malloc (i));
+ GNUNET_free_nz (GNUNET_malloc (i));
}
return ret;
}