aboutsummaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-04-02 05:24:52 +0000
committerbloodstalker <thabogre@gmail.com>2017-04-02 05:24:52 +0000
commitb731fb9edf33fb2e1ec1fa1ab8e65f8680688351 (patch)
tree374244ab8c9f6d1e2000652f67df0a9a0a40ca2d /daemon
parentadded a check for empty or config file not found. (diff)
downloadmutator-b731fb9edf33fb2e1ec1fa1ab8e65f8680688351.tar.gz
mutator-b731fb9edf33fb2e1ec1fa1ab8e65f8680688351.zip
more fixes
Diffstat (limited to 'daemon')
-rw-r--r--daemon/daemon_aux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/daemon_aux.c b/daemon/daemon_aux.c
index 278d207..843c84b 100644
--- a/daemon/daemon_aux.c
+++ b/daemon/daemon_aux.c
@@ -140,6 +140,8 @@ int mutator_server(FILE* log_file)
fprintf(log_file, "%s", EMPTY_CONFIG);
fclose(log_file);
fclose(mutator_config);
+ close(client_sock);
+ close(socket_desc);
return 1;
}