ssh_free() should not call log_free(); it's for the front end to
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 14 Aug 2004 12:24:02 +0000 (12:24 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 14 Aug 2004 12:24:02 +0000 (12:24 +0000)
decide whether the logctx is finished with or not.

git-svn-id: svn://svn.tartarus.org/sgt/putty@4452 cda61777-01e9-0310-a592-d414129be87e

ssh.c

diff --git a/ssh.c b/ssh.c
index 91e968c..77bb459 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);