comparison 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
comparison
equal deleted inserted replaced
1889:fc4c9ef61856 1890:45e552ee4391
112 if (ses.authstate.pubkey_options) { 112 if (ses.authstate.pubkey_options) {
113 if (ses.authstate.pubkey_options->forced_command) { 113 if (ses.authstate.pubkey_options->forced_command) {
114 m_free(ses.authstate.pubkey_options->forced_command); 114 m_free(ses.authstate.pubkey_options->forced_command);
115 } 115 }
116 m_free(ses.authstate.pubkey_options); 116 m_free(ses.authstate.pubkey_options);
117 }
118 if (ses.authstate.pubkey_info) {
119 m_free(ses.authstate.pubkey_info);
117 } 120 }
118 } 121 }
119 122
120 /* helper for svr_add_pubkey_options. returns DROPBEAR_SUCCESS if the option is matched, 123 /* helper for svr_add_pubkey_options. returns DROPBEAR_SUCCESS if the option is matched,
121 and increments the options_buf */ 124 and increments the options_buf */