From: Bart Polot Date: Thu, 11 Jul 2013 12:53:45 +0000 (+0000) Subject: - fix memleak X-Git-Tag: initial-import-from-subversion-38251~8383 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=72ef45e25d24e73e0548d3cffcea35f1cd98f13a;p=oweals%2Fgnunet.git - fix memleak --- diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 5d6984424..7b5c7fc1b 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -2913,6 +2913,7 @@ queue_destroy (struct MeshPeerQueue *queue, int clear_cls) else { GNUNET_break (0); + GNUNET_free (queue); return; } fc->queue_n--;