diff options
-rw-r--r-- | src/util/service.c | 2 |
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 | } |