leak
authorChristian Grothoff <christian@grothoff.org>
Wed, 12 Oct 2011 14:22:30 +0000 (14:22 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 12 Oct 2011 14:22:30 +0000 (14:22 +0000)
src/dht/gnunet-service-dht_neighbours.c

index 440fdf17fa27143cd459e6d4a51dc1dfd9d6bf12..6de93c0eb788f4497ce9640aab59f319aa2216a8 100644 (file)
@@ -1284,6 +1284,7 @@ GDS_NEIGHBOURS_handle_put (enum GNUNET_BLOCK_Type type,
   if (msize >= GNUNET_SERVER_MAX_MESSAGE_SIZE)
   {
     GNUNET_break (0);
+    GNUNET_free (targets);
     return;
   }
   GNUNET_STATISTICS_update (GDS_stats,