mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-05 13:32:48 -05:00
Free copied Conf in log_free().
Thanks to Corey Stup for pointing it out.
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user