aboutsummaryrefslogtreecommitdiff
path: root/src/dv
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-11 14:36:48 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-11 14:36:48 +0000
commitde171471f2de11b08e9990fffd04f8164256cb01 (patch)
tree7c84a66accbc26d40391774cf1a60025c42818ac /src/dv
parent2ac100a7b4fd757ecfd9d14fdaee95b8cf920523 (diff)
downloadgnunet-de171471f2de11b08e9990fffd04f8164256cb01.tar.gz
gnunet-de171471f2de11b08e9990fffd04f8164256cb01.zip
-fix leak
Diffstat (limited to 'src/dv')
-rw-r--r--src/dv/dv_api.c1
-rw-r--r--src/dv/plugin_transport_dv.c2
2 files changed, 2 insertions, 1 deletions
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,
296 th->cb (th->cb_cls, GNUNET_SYSERR); 296 th->cb (th->cb_cls, GNUNET_SYSERR);
297 GNUNET_free (th); 297 GNUNET_free (th);
298 } 298 }
299 GNUNET_free (peer);
299 return GNUNET_OK; 300 return GNUNET_OK;
300} 301}
301 302
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)
776 * @param cls NULL 776 * @param cls NULL
777 * @param key unused 777 * @param key unused
778 * @param value session to free 778 * @param value session to free
779 * @return GNUNET_OK (continue to iterate) 779 * @return #GNUNET_OK (continue to iterate)
780 */ 780 */
781static int 781static int
782free_session_iterator (void *cls, 782free_session_iterator (void *cls,