aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/daemon_aux.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--daemon/daemon_aux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/daemon_aux.c b/daemon/daemon_aux.c
index 6057f2a..4f93aec 100644
--- a/daemon/daemon_aux.c
+++ b/daemon/daemon_aux.c
@@ -80,6 +80,7 @@ int mutator_server(FILE* log_file)
if (client_sock < 0)
{
perror("could not accept incoming client.");
+ close(socket_desc);
return 1;
}
fprintf(log_file, "%s", "connection accpeted.\n");