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:
2534cea
)
-LRN fix deallocation
author
Christian Grothoff
<christian@grothoff.org>
Thu, 8 Dec 2011 18:01:44 +0000
(18:01 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 8 Dec 2011 18:01:44 +0000
(18:01 +0000)
src/util/service.c
patch
|
blob
|
history
diff --git
a/src/util/service.c
b/src/util/service.c
index d582b6d80b92d43699b3e8a291e3a2d7ff136ed3..ebdf2c61a967c9daba08283a2d1dbe5c83f287f8 100644
(file)
--- a/
src/util/service.c
+++ b/
src/util/service.c
@@
-1152,7
+1152,7
@@
receive_sockets_from_parent (struct GNUNET_SERVICE_Context *sctx)
_("Could not access a pre-bound socket, will try to bind myself\n"));
for (i = 0; i < count && sctx->lsocks[i] != NULL; i++)
GNUNET_break (0 == GNUNET_NETWORK_socket_close (sctx->lsocks[i]));
- GNUNET_free (sctx->lsocks);
+ GNUNET_free
_non_null
(sctx->lsocks);
sctx->lsocks = NULL;
return GNUNET_NO;
}