diff --git a/src/ckpool.c b/src/ckpool.c index e13b6973..a0fbfd09 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -124,6 +124,7 @@ void logmsg(int loglevel, const char *fmt, ...) { if (logfd > 0) ckmsgq_add(global_ckp->logger, strdup(log)); free(buf); + free(log); } }