Skip to content

Commit

Permalink
fix memory leak in TDNFMarkAutoInstalled()
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverkurth committed May 2, 2022
1 parent 4d537d3 commit b4b6be4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/goal.c
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ TDNFMarkAutoInstalled(
{
fclose(fp);
}
TDNF_SAFE_FREE_MEMORY(pszDataDir);
TDNF_SAFE_FREE_MEMORY(pszAutoFile);
TDNF_SAFE_FREE_STRINGARRAY(ppszAutoInstalled);
return dwError;
Expand Down

0 comments on commit b4b6be4

Please sign in to comment.