summaryrefslogtreecommitdiffhomepage
path: root/cli-authinteract.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2011-04-07 12:34:44 +0000
committerMatt Johnston <matt@ucc.asn.au>2011-04-07 12:34:44 +0000
commit72a82cc0ac998583ec456385bd4ad3dd8bb6eb36 (patch)
tree6f46ded736b6bac3962043b3e52a5115c37bd288 /cli-authinteract.c
parenteef35883b7d70b0371ebcd89fd6f541ed7202df7 (diff)
Fix memory leak found by Klocwork
--HG-- extra : convert_revision : 6f1e5e6dd6462f1c35a6bfd601a0f5f8b99410d6
Diffstat (limited to 'cli-authinteract.c')
-rw-r--r--cli-authinteract.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli-authinteract.c b/cli-authinteract.c
index 7851578..a06c9ca 100644
--- a/cli-authinteract.c
+++ b/cli-authinteract.c
@@ -131,6 +131,7 @@ void recv_msg_userauth_info_request() {
response_len = strlen(response);
buf_putstring(ses.writepayload, response, response_len);
m_burn(response, response_len);
+ m_free(prompt);
m_free(response);
}