From d1e8d2204007af40267b97832807fb0fea9c2917 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Tue, 21 Dec 2010 14:31:25 +0000 Subject: [PATCH] klocwork id 751: fixed memory leak --- src/core/core_api.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.25.1