]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
librpc:crypto: SAFE_FREE() -> krb5_free_enctypes()
authorPavel Filipenský <pfilipensky@samba.org>
Thu, 27 Jul 2023 14:30:00 +0000 (16:30 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 28 Jul 2023 10:48:32 +0000 (10:48 +0000)
Reported by Red Hat internal covscan

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/librpc/crypto/gse_krb5.c

index b4cec1e4cf07f100ea403e3f26401f878d52bb6a..f1e0e5194bf827b06a71733f325eeab4cf0e0f1e 100644 (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;
 }