1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Free copied Conf in log_free().

Thanks to Corey Stup for pointing it out.
This commit is contained in:
Jacob Nevins 2014-11-09 00:54:35 +00:00
parent f662ff790c
commit 5429effd8e

View File

@ -373,6 +373,7 @@ void log_free(void *handle)
bufchain_clear(&ctx->queue); bufchain_clear(&ctx->queue);
if (ctx->currlogfilename) if (ctx->currlogfilename)
filename_free(ctx->currlogfilename); filename_free(ctx->currlogfilename);
conf_free(ctx->conf);
sfree(ctx); sfree(ctx);
} }