diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-07-11 16:27:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-07-11 16:27:19 +0000 |
commit | 52823794ba38b80110b6de742d4f4167989b2cf7 (patch) | |
tree | 497a92d3e73b0662f1165dd07b349d28e0d64975 /src | |
parent | 6c558bec246145418131dbb8ced6261f7ad4efa8 (diff) | |
download | gnunet-52823794ba38b80110b6de742d4f4167989b2cf7.tar.gz gnunet-52823794ba38b80110b6de742d4f4167989b2cf7.zip |
-fix
Diffstat (limited to 'src')
-rw-r--r-- | src/namestore/gnunet-namestore.c | 6 |
1 files changed, 5 insertions, 1 deletions
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, | |||
218 | GNUNET_NAMESTORE_zone_monitor_stop (zm); | 218 | GNUNET_NAMESTORE_zone_monitor_stop (zm); |
219 | zm = NULL; | 219 | zm = NULL; |
220 | } | 220 | } |
221 | if (NULL != data) | ||
222 | { | ||
223 | GNUNET_free (data); | ||
224 | data = NULL; | ||
225 | } | ||
221 | } | 226 | } |
222 | 227 | ||
223 | 228 | ||
@@ -670,7 +675,6 @@ testservice_task (void *cls, | |||
670 | &add_continuation, | 675 | &add_continuation, |
671 | &add_qe_uri); | 676 | &add_qe_uri); |
672 | } | 677 | } |
673 | GNUNET_free_non_null (data); | ||
674 | if (monitor) | 678 | if (monitor) |
675 | { | 679 | { |
676 | zm = GNUNET_NAMESTORE_zone_monitor_start (cfg, | 680 | zm = GNUNET_NAMESTORE_zone_monitor_start (cfg, |