1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-09 13:42:09 -05:00

Merge r9357 (missing free_prompts).

[originally from svn r9358]
[r9357 == bb542eaeff5f7964f74c5893b7d3bec8656f0589]
This commit is contained in:
Simon Tatham 2011-12-07 19:09:29 +00:00
parent 59c0bb3f8a
commit 3cbf24187e

7
ssh.c
View File

@ -8411,6 +8411,13 @@ static void do_ssh2_authconn(Ssh ssh, unsigned char *in, int inlen,
}
ssh2_pkt_send_with_padding(ssh, s->pktout, 256);
/*
* Free the prompts structure from this iteration.
* If there's another, a new one will be allocated
* when we return to the top of this while loop.
*/
free_prompts(s->cur_prompt);
/*
* Get the next packet in case it's another
* INFO_REQUEST.