diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-06-13 08:34:40 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-06-13 08:34:40 +0000 |
commit | 1b081dce5a25bf612d6711662b06483b18069617 (patch) | |
tree | 2992bfcce74e8d75e1822449b15ed394826882cd | |
parent | 0208a977b07da249d2a849c349b6f70dce62a8a5 (diff) | |
download | gnunet-1b081dce5a25bf612d6711662b06483b18069617.tar.gz gnunet-1b081dce5a25bf612d6711662b06483b18069617.zip |
- fix
-rw-r--r-- | src/namestore/gnunet-service-namestore.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c index 4d497c8a1..7483c0a89 100644 --- a/src/namestore/gnunet-service-namestore.c +++ b/src/namestore/gnunet-service-namestore.c | |||
@@ -251,8 +251,11 @@ cleanup_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
251 | struct GNUNET_NAMESTORE_Client * nc; | 251 | struct GNUNET_NAMESTORE_Client * nc; |
252 | struct GNUNET_NAMESTORE_Client * next; | 252 | struct GNUNET_NAMESTORE_Client * next; |
253 | 253 | ||
254 | GNUNET_SERVER_notification_context_destroy (snc); | 254 | if (NULL != snc) |
255 | snc = NULL; | 255 | { |
256 | GNUNET_SERVER_notification_context_destroy (snc); | ||
257 | snc = NULL; | ||
258 | } | ||
256 | GNUNET_CONTAINER_multihashmap_iterate(zonekeys, &zone_to_disk_it, NULL); | 259 | GNUNET_CONTAINER_multihashmap_iterate(zonekeys, &zone_to_disk_it, NULL); |
257 | GNUNET_CONTAINER_multihashmap_destroy(zonekeys); | 260 | GNUNET_CONTAINER_multihashmap_destroy(zonekeys); |
258 | 261 | ||