From b4b6be43178d7910a35ed25f49d9872063343849 Mon Sep 17 00:00:00 2001 From: Oliver Kurth Date: Mon, 2 May 2022 23:19:02 +0000 Subject: [PATCH] fix memory leak in TDNFMarkAutoInstalled() --- client/goal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/goal.c b/client/goal.c index 473873a8..30872580 100644 --- a/client/goal.c +++ b/client/goal.c @@ -675,6 +675,7 @@ TDNFMarkAutoInstalled( { fclose(fp); } + TDNF_SAFE_FREE_MEMORY(pszDataDir); TDNF_SAFE_FREE_MEMORY(pszAutoFile); TDNF_SAFE_FREE_STRINGARRAY(ppszAutoInstalled); return dwError;