aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,