diff --git a/src/log.c b/src/log.c index 5530f66f..68131af8 100644 --- a/src/log.c +++ b/src/log.c @@ -167,6 +167,7 @@ void close_logbuffer(void) { close(logbuffer_shm); shm_unlink(shmlogname); logbuffer = NULL; + shmlogname = ""; } /*