lib/gssapi/spnego: accept_sec_context free 'supported_mechs'
If no preferred mechanism was found 'supported_mechs' was leaked. Change-Id: I2982f94d7e9569461f562987609ff7bff57b3f88
This commit is contained in:
@@ -743,6 +743,7 @@ acceptor_start
|
||||
}
|
||||
} else {
|
||||
*minor_status = 0;
|
||||
gss_release_oid_set(&junk, &supported_mechs);
|
||||
HEIMDAL_MUTEX_unlock(&ctx->ctx_id_mutex);
|
||||
return gss_mg_set_error_string(GSS_C_NO_OID, GSS_S_NO_CONTEXT,
|
||||
*minor_status,
|
||||
|
Reference in New Issue
Block a user