From 15fb479e94513a37826aee67fbe9ba430835d320 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Mon, 30 Aug 2004 15:02:45 +0000 Subject: [PATCH] Leak found with MallocDebug - it's kinda useful --HG-- extra : convert_revision : 43fdd8b10616b9d5e11f677d16763c7a876a5ec3 --- cli-auth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli-auth.c b/cli-auth.c index 2dd0281..9dedfa8 100644 --- a/cli-auth.c +++ b/cli-auth.c @@ -169,6 +169,8 @@ void recv_msg_userauth_failure() { } } + m_free(methods); + cli_ses.state = USERAUTH_FAIL_RCVD; TRACE(("leave recv_msg_userauth_failure"));