gss: plug leak in test_negoex_mech
test_negoex_mech should free the result of calling decode_GSSAPIContextToken()
This commit is contained in:
@@ -157,6 +157,7 @@ gss_accept_sec_context(OM_uint32 *minor_status, gss_ctx_id_t *context_handle,
|
||||
sizeof(mechbuf),
|
||||
&ct.thisMech,
|
||||
&mech_len);
|
||||
free_GSSAPIContextToken(&ct);
|
||||
}
|
||||
if (ret) {
|
||||
*minor_status = ret;
|
||||
|
Reference in New Issue
Block a user