aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/daemon_aux.c
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-03-11 17:20:45 +0000
committerbloodstalker <thabogre@gmail.com>2017-03-11 17:20:45 +0000
commit26d121d7ece914511ad375c6a4bcdd2b52f7fea4 (patch)
tree67364ee3104640462aaa8d2218216049b2aae9a4 /daemon/daemon_aux.c
parentfixed another coverity issue (diff)
downloadmutator-26d121d7ece914511ad375c6a4bcdd2b52f7fea4.tar.gz
mutator-26d121d7ece914511ad375c6a4bcdd2b52f7fea4.zip
fixing some issues
Diffstat (limited to 'daemon/daemon_aux.c')
-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 86e57ee..248df08 100644
--- a/daemon/daemon_aux.c
+++ b/daemon/daemon_aux.c
@@ -142,6 +142,8 @@ int mutator_server(FILE* log_file)
fprintf(log_file, "%s", "client disconnected\n");
fflush(stdout);
fprintf(log_file, "%s", "closing log file\n");
+ close(client_sock);
+ close(socket_desc);
}
else if (read_size == -1)
{