From: Christian Grothoff Date: Wed, 12 Oct 2011 14:22:30 +0000 (+0000) Subject: leak X-Git-Tag: initial-import-from-subversion-38251~16584 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=522ba05785364bc5ad9bb0ce085c7ec2c27d26f4;p=oweals%2Fgnunet.git leak --- diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c index 440fdf17f..6de93c0eb 100644 --- a/src/dht/gnunet-service-dht_neighbours.c +++ b/src/dht/gnunet-service-dht_neighbours.c @@ -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,