From f6b097436651f350d98f537034525a6069eb988a Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 1 Mar 2012 12:36:30 +0000 Subject: [PATCH] - memleak --- src/namestore/test_namestore_record_serialization.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/namestore/test_namestore_record_serialization.c b/src/namestore/test_namestore_record_serialization.c index b389e7faf..a045e59a5 100644 --- a/src/namestore/test_namestore_record_serialization.c +++ b/src/namestore/test_namestore_record_serialization.c @@ -115,6 +115,11 @@ run (void *cls, char *const *args, const char *cfgfile, GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Element [%i]: EQUAL\n", c); } + + for (c = 0; c < rd_count; c++) + { + GNUNET_free ((void *)src[c].data); + } } static int -- 2.25.1