]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
ssh_free() should not call log_free(); it's for the front end to
authorSimon Tatham <anakin@pobox.com>
Sat, 14 Aug 2004 12:24:02 +0000 (12:24 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 14 Aug 2004 12:24:02 +0000 (12:24 +0000)
decide whether the logctx is finished with or not.

[originally from svn r4452]

ssh.c

diff --git a/ssh.c b/ssh.c
index 91e968cb87a28a6e8b9380302aca4a0623427533..77bb45943b06cafa0da540f90ea0ceee15db67b6 100644 (file)
--- 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);