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:
parent
f662ff790c
commit
5429effd8e
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user