Skip to content

Commit

Permalink
Free copied Conf in log_free().
Browse files Browse the repository at this point in the history
Thanks to Corey Stup for pointing it out.
  • Loading branch information
jtn20 committed Nov 9, 2014
1 parent f662ff7 commit 5429eff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions logging.c
Expand Up @@ -373,6 +373,7 @@ void log_free(void *handle)
bufchain_clear(&ctx->queue);
if (ctx->currlogfilename)
filename_free(ctx->currlogfilename);
conf_free(ctx->conf);
sfree(ctx);
}

Expand Down

0 comments on commit 5429eff

Please sign in to comment.