changeset 114:2be6aa26a8c9

Leak found with MallocDebug - it's kinda useful
author Matt Johnston <matt@ucc.asn.au>
date Mon, 30 Aug 2004 15:02:45 +0000
parents 775c6cbfe995
children 9ffe5a6dbf3f
files cli-auth.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cli-auth.c	Mon Aug 30 13:26:42 2004 +0000
+++ b/cli-auth.c	Mon Aug 30 15:02:45 2004 +0000
@@ -169,6 +169,8 @@
 		}
 	}
 
+	m_free(methods);
+
 	cli_ses.state = USERAUTH_FAIL_RCVD;
 		
 	TRACE(("leave recv_msg_userauth_failure"));