diff cli-auth.c @ 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 e3adf4cf5465
children 0cfba3034be5
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"));