diff --git a/src/log.c b/src/log.c index 856330b6..b7ad072f 100644 --- a/src/log.c +++ b/src/log.c @@ -172,6 +172,7 @@ void open_logbuffer(void) { void close_logbuffer(void) { close(logbuffer_shm); shm_unlink(shmlogname); + free(shmlogname); logbuffer = NULL; shmlogname = ""; }