From: Matthias Wachs Date: Tue, 21 Dec 2010 14:31:25 +0000 (+0000) Subject: klocwork id 751: fixed memory leak X-Git-Tag: initial-import-from-subversion-38251~19464 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d1e8d2204007af40267b97832807fb0fea9c2917;p=oweals%2Fgnunet.git klocwork id 751: fixed memory leak --- diff --git a/src/core/core_api.c b/src/core/core_api.c index c727abc72..bff711d02 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c @@ -1555,6 +1555,7 @@ GNUNET_CORE_notify_transmit_ready (struct GNUNET_CORE_Handle *handle, { GNUNET_break (handle->queue_size != 0); GNUNET_break (pr->queue_size == 0); + GNUNET_free(th); return NULL; } if (priority <= minp->priority)