From: Christian Grothoff Date: Thu, 11 Jul 2013 16:27:19 +0000 (+0000) Subject: -fix X-Git-Tag: initial-import-from-subversion-38251~8364 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=52823794ba38b80110b6de742d4f4167989b2cf7;p=oweals%2Fgnunet.git -fix --- diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c index 9f7eb7ed0..56e2859d0 100644 --- a/src/namestore/gnunet-namestore.c +++ b/src/namestore/gnunet-namestore.c @@ -218,6 +218,11 @@ do_shutdown (void *cls, GNUNET_NAMESTORE_zone_monitor_stop (zm); zm = NULL; } + if (NULL != data) + { + GNUNET_free (data); + data = NULL; + } } @@ -670,7 +675,6 @@ testservice_task (void *cls, &add_continuation, &add_qe_uri); } - GNUNET_free_non_null (data); if (monitor) { zm = GNUNET_NAMESTORE_zone_monitor_start (cfg,