Mercurial > dropbear
diff svr-authpubkeyoptions.c @ 1890:45e552ee4391
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 22 Mar 2022 16:17:47 +0800 |
parents | d39cfedaf015 |
children |
line wrap: on
line diff
--- a/svr-authpubkeyoptions.c Tue Mar 22 16:17:05 2022 +0800 +++ b/svr-authpubkeyoptions.c Tue Mar 22 16:17:47 2022 +0800 @@ -115,6 +115,9 @@ } m_free(ses.authstate.pubkey_options); } + if (ses.authstate.pubkey_info) { + m_free(ses.authstate.pubkey_info); + } } /* helper for svr_add_pubkey_options. returns DROPBEAR_SUCCESS if the option is matched,