kdc: Fix leak with PK-INIT-Win2k
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:

committed by
Nico Williams

parent
71fd391036
commit
4de8b3564e
@@ -681,6 +681,7 @@ _kdc_pk_rd_padata(astgs_request_t priv,
|
|||||||
ret = KRB5KRB_ERR_GENERIC;
|
ret = KRB5KRB_ERR_GENERIC;
|
||||||
krb5_set_error_message(context, ret,
|
krb5_set_error_message(context, ret,
|
||||||
"DH not supported for Win2k");
|
"DH not supported for Win2k");
|
||||||
|
free_AuthPack_Win2k(&ap);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
free_AuthPack_Win2k(&ap);
|
free_AuthPack_Win2k(&ap);
|
||||||
|
Reference in New Issue
Block a user