From f359b571195d523c910d9a63750ccd3b1e7318c2 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 30 Apr 2015 01:31:36 +1000 Subject: [PATCH] Close umsg sockd on clearing unix message in generator --- src/generator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generator.c b/src/generator.c index ee9626a7..ffae0180 100644 --- a/src/generator.c +++ b/src/generator.c @@ -270,6 +270,7 @@ static void kill_server(server_instance_t *si) static void clear_unix_msg(unix_msg_t **umsg) { if (*umsg) { + Close((*umsg)->sockd); free((*umsg)->buf); free(*umsg); *umsg = NULL;