From: Christian Grothoff Date: Mon, 13 Feb 2012 15:02:27 +0000 (+0000) Subject: -check return value X-Git-Tag: initial-import-from-subversion-38251~14873 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b390f74b9652d8188ae82150852d5fc54b2be6ba;p=oweals%2Fgnunet.git -check return value --- diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index 17d50a0c5..c2f113b7c 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c @@ -260,7 +260,8 @@ get_session_delete_it (void *cls, const GNUNET_HashCode * key, void *value) plugin->env->session_end (plugin->env->cls, &s->target, s); - GNUNET_CONTAINER_multihashmap_remove(plugin->session_map, &s->target.hashPubKey, s); + GNUNET_assert (GNUNET_YES == + GNUNET_CONTAINER_multihashmap_remove(plugin->session_map, &s->target.hashPubKey, s)); GNUNET_free (s);