aboutsummaryrefslogtreecommitdiff
path: root/src/util/service.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-08 18:01:44 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-08 18:01:44 +0000
commit8dea1396a5ef1530440a111ba54c674baeaf010a (patch)
tree95757f59d4d232893645b70a7cd72314d218f485 /src/util/service.c
parent2534ceaa636e3b0254d9187885027896b9d3e840 (diff)
downloadgnunet-8dea1396a5ef1530440a111ba54c674baeaf010a.tar.gz
gnunet-8dea1396a5ef1530440a111ba54c674baeaf010a.zip
-LRN fix deallocation
Diffstat (limited to 'src/util/service.c')
-rw-r--r--src/util/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/service.c b/src/util/service.c
index d582b6d80..ebdf2c61a 100644
--- a/src/util/service.c
+++ b/src/util/service.c
@@ -1152,7 +1152,7 @@ receive_sockets_from_parent (struct GNUNET_SERVICE_Context *sctx)
1152 _("Could not access a pre-bound socket, will try to bind myself\n")); 1152 _("Could not access a pre-bound socket, will try to bind myself\n"));
1153 for (i = 0; i < count && sctx->lsocks[i] != NULL; i++) 1153 for (i = 0; i < count && sctx->lsocks[i] != NULL; i++)
1154 GNUNET_break (0 == GNUNET_NETWORK_socket_close (sctx->lsocks[i])); 1154 GNUNET_break (0 == GNUNET_NETWORK_socket_close (sctx->lsocks[i]));
1155 GNUNET_free (sctx->lsocks); 1155 GNUNET_free_non_null (sctx->lsocks);
1156 sctx->lsocks = NULL; 1156 sctx->lsocks = NULL;
1157 return GNUNET_NO; 1157 return GNUNET_NO;
1158 } 1158 }