projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98e5846
)
Add a missing free_prompts() call in the keyboard-interactive code.
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 7 Dec 2011 19:07:02 +0000
(19:07 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 7 Dec 2011 19:07:02 +0000
(19:07 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@9357
cda61777
-01e9-0310-a592-
d414129be87e
ssh.c
patch
|
blob
|
blame
|
history
diff --git
a/ssh.c
b/ssh.c
index
aabbcc4
..
3464ea5
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-8524,6
+8524,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.