Browse Source

Free log buffer as well.

master
Con Kolivas 8 years ago
parent
commit
59bc62153d
  1. 1
      src/ckpool.c

1
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);
}
}

Loading…
Cancel
Save