1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

librpc:crypto: SAFE_FREE() -> krb5_free_enctypes()

Reported by Red Hat internal covscan

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Pavel Filipenský 2023-07-27 16:30:00 +02:00 committed by Stefan Metzmacher
parent 05056775ea
commit 959dc9068d

View File

@ -150,7 +150,7 @@ static krb5_error_code fill_keytab_from_password(krb5_context krbctx,
ret = 0;
out:
SAFE_FREE(enctypes);
krb5_free_enctypes(krbctx, enctypes);
return ret;
}