From ad09ba21ad4dc69cb8eabfcf6b0d89bd7350f79a Mon Sep 17 00:00:00 2001 From: Philipp Eder Date: Wed, 28 Aug 2024 12:29:30 +0200 Subject: [PATCH] Fix: remove unnecessary creds free --- keberos/openvas-krb5.c | 1 - 1 file changed, 1 deletion(-) diff --git a/keberos/openvas-krb5.c b/keberos/openvas-krb5.c index 98d9174af..0d51c76c1 100644 --- a/keberos/openvas-krb5.c +++ b/keberos/openvas-krb5.c @@ -260,7 +260,6 @@ o_krb5_authenticate (const OKrb5Credential credentials, OKrb5Element **element) result: if (result != O_KRB5_SUCCESS) { - krb5_free_cred_contents (ctx, &creds); krb5_free_principal (ctx, me); krb5_free_context (ctx); if (*element != NULL)