Fixed coverity #10250
authorBart Polot <bart@net.in.tum.de>
Fri, 4 Nov 2011 14:14:12 +0000 (14:14 +0000)
committerBart Polot <bart@net.in.tum.de>
Fri, 4 Nov 2011 14:14:12 +0000 (14:14 +0000)
src/mesh/gnunet-service-mesh.c

index 312ff5a8ac9f63cea1b33d11314c45b75877139b..f1bef6b4df8e725c49236d33763282a00981b83d 100644 (file)
@@ -1158,6 +1158,7 @@ send_message (const struct GNUNET_MessageHeader *message,
   if (NULL == p)
   {
     GNUNET_break (0);
+    GNUNET_free (info);
     return;
   }
   i = peer_info_transmit_slot (neighbor);