From: Christian Grothoff Date: Wed, 11 Dec 2013 14:36:48 +0000 (+0000) Subject: -fix leak X-Git-Tag: initial-import-from-subversion-38251~5574 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=de171471f2de11b08e9990fffd04f8164256cb01;p=oweals%2Fgnunet.git -fix leak --- diff --git a/src/dv/dv_api.c b/src/dv/dv_api.c index 7ea005995..229148ae4 100644 --- a/src/dv/dv_api.c +++ b/src/dv/dv_api.c @@ -296,6 +296,7 @@ cleanup_send_cb (void *cls, th->cb (th->cb_cls, GNUNET_SYSERR); GNUNET_free (th); } + GNUNET_free (peer); return GNUNET_OK; } diff --git a/src/dv/plugin_transport_dv.c b/src/dv/plugin_transport_dv.c index e90604086..1f9a32fe4 100644 --- a/src/dv/plugin_transport_dv.c +++ b/src/dv/plugin_transport_dv.c @@ -776,7 +776,7 @@ libgnunet_plugin_transport_dv_init (void *cls) * @param cls NULL * @param key unused * @param value session to free - * @return GNUNET_OK (continue to iterate) + * @return #GNUNET_OK (continue to iterate) */ static int free_session_iterator (void *cls,