Another failure to crStop(0) on user abort, this time for SSH-1 cipher
[sgt/putty] / ssh.c
diff --git a/ssh.c b/ssh.c
index ccc7ccc..b9d906d 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -3014,6 +3014,7 @@ static int do_ssh1_login(Ssh ssh, unsigned char *in, int inlen,
            if (s->dlgret == 0) {
                ssh->close_expected = TRUE;
                ssh_closing((Plug)ssh, NULL, 0, 0);
+               crStop(0);
            }
         }
     }