-fix leak
authorChristian Grothoff <christian@grothoff.org>
Wed, 11 Dec 2013 14:36:48 +0000 (14:36 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 11 Dec 2013 14:36:48 +0000 (14:36 +0000)
src/dv/dv_api.c
src/dv/plugin_transport_dv.c

index 7ea00599501ebeb25c6c05c97dd5700f0fdd85fa..229148ae4eae98c3bb804d23491322a71b5170bc 100644 (file)
@@ -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;
 }
 
index e90604086417c24f646bf3d83bdf456fa5963d70..1f9a32fe46745896b7c688f03888d36e1cda5bc0 100644 (file)
@@ -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,