projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dc3136
)
klocwork id 751: fixed memory leak
author
Matthias Wachs
<wachs@net.in.tum.de>
Tue, 21 Dec 2010 14:31:25 +0000
(14:31 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Tue, 21 Dec 2010 14:31:25 +0000
(14:31 +0000)
src/core/core_api.c
patch
|
blob
|
history
diff --git
a/src/core/core_api.c
b/src/core/core_api.c
index c727abc72fb11b5605dabb6a73471a10fbfb78e2..bff711d02fbb84e3c5c4cce65cf09c42be8781c0 100644
(file)
--- 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)