Permalink
Browse files

Merge r9357 (missing free_prompts).

git-svn-id: svn://svn.tartarus.org/sgt/putty-branch-0.61@9358 cda61777-01e9-0310-a592-d414129be87e
  • Loading branch information...
simon
simon committed Dec 7, 2011
1 parent c5d581c commit 76ac1d80407827e56b4cc9ad46598350b90c61c7
Showing with 7 additions and 0 deletions.
  1. +7 −0 ssh.c
View
7 ssh.c
@@ -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.

0 comments on commit 76ac1d8

Please sign in to comment.