From: Simon Tatham Date: Sat, 14 Aug 2004 12:24:02 +0000 (+0000) Subject: ssh_free() should not call log_free(); it's for the front end to X-Git-Tag: 0.56~58 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=f16d8aff82398af8d875b9c3a0bd2d9dad81bdfc;p=PuTTY.git ssh_free() should not call log_free(); it's for the front end to decide whether the logctx is finished with or not. [originally from svn r4452] --- diff --git a/ssh.c b/ssh.c index 91e968cb..77bb4594 100644 --- a/ssh.c +++ b/ssh.c @@ -6473,10 +6473,6 @@ static void ssh_free(void *handle) crcda_free_context(ssh->crcda_ctx); ssh->crcda_ctx = NULL; } - if (ssh->logctx) { - log_free(ssh->logctx); - ssh->logctx = NULL; - } if (ssh->s) ssh_do_close(ssh); sfree(ssh);