diff options
Diffstat (limited to 'src/namestore/gnunet-namestore-gtk.c')
-rw-r--r-- | src/namestore/gnunet-namestore-gtk.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/namestore/gnunet-namestore-gtk.c b/src/namestore/gnunet-namestore-gtk.c index 4483b0c2..e54d0972 100644 --- a/src/namestore/gnunet-namestore-gtk.c +++ b/src/namestore/gnunet-namestore-gtk.c | |||
@@ -2540,14 +2540,6 @@ cleanup_task (void *cls, | |||
2540 | GNUNET_free (moc->data); | 2540 | GNUNET_free (moc->data); |
2541 | GNUNET_free (moc); | 2541 | GNUNET_free (moc); |
2542 | } | 2542 | } |
2543 | if (NULL != n2r) | ||
2544 | { | ||
2545 | GNUNET_CONTAINER_multihashmap_iterate (n2r, | ||
2546 | &release_ri, | ||
2547 | NULL); | ||
2548 | GNUNET_CONTAINER_multihashmap_destroy (n2r); | ||
2549 | n2r = NULL; | ||
2550 | } | ||
2551 | gtk_tree_store_clear (ts); | 2543 | gtk_tree_store_clear (ts); |
2552 | if (NULL != namestore) | 2544 | if (NULL != namestore) |
2553 | { | 2545 | { |
@@ -2569,6 +2561,14 @@ cleanup_task (void *cls, | |||
2569 | GNUNET_IDENTITY_disconnect (identity); | 2561 | GNUNET_IDENTITY_disconnect (identity); |
2570 | identity = NULL; | 2562 | identity = NULL; |
2571 | } | 2563 | } |
2564 | if (NULL != n2r) | ||
2565 | { | ||
2566 | GNUNET_CONTAINER_multihashmap_iterate (n2r, | ||
2567 | &release_ri, | ||
2568 | NULL); | ||
2569 | GNUNET_CONTAINER_multihashmap_destroy (n2r); | ||
2570 | n2r = NULL; | ||
2571 | } | ||
2572 | } | 2572 | } |
2573 | 2573 | ||
2574 | 2574 | ||