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),
|
sizeof(mechbuf),
|
||||||
&ct.thisMech,
|
&ct.thisMech,
|
||||||
&mech_len);
|
&mech_len);
|
||||||
|
free_GSSAPIContextToken(&ct);
|
||||||
}
|
}
|
||||||
if (ret) {
|
if (ret) {
|
||||||
*minor_status = ret;
|
*minor_status = ret;
|
||||||
|
Reference in New Issue
Block a user