c3015
authorChristian Grothoff <christian@grothoff.org>
Fri, 16 Sep 2011 13:51:02 +0000 (13:51 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 16 Sep 2011 13:51:02 +0000 (13:51 +0000)
src/vpn/gnunet-daemon-exit.c

index 324c136b0320e44a579e95b1e96f63ef1729987b..3a05f2e24f8386f49064edbbb2dabd8e51208841 100644 (file)
@@ -207,7 +207,8 @@ collect_connections (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 
   /* FIXME! GNUNET_MESH_close_tunnel(state->tunnel); */
 
-  GNUNET_CONTAINER_multihashmap_remove (state->hashmap, &state->hash, state);
+  GNUNET_assert (GNUNET_OK ==
+                GNUNET_CONTAINER_multihashmap_remove (state->hashmap, &state->hash, state));
 
   GNUNET_free (state);
 }