Skip to content

Commit

Permalink
fix memory leak in TDNFReadConfFilesFromDir()
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverkurth committed May 2, 2022
1 parent dd2e8bb commit 4d537d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions client/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,6 @@ TDNFReadConfFilesFromDir(
{
continue;
}
dwError = TDNFAllocateStringPrintf(&pszFile, pszDir, pEnt->d_name);
BAIL_ON_TDNF_ERROR(dwError);
dwError = TDNFJoinPath(&pszFile, pszDir, pEnt->d_name, NULL);
BAIL_ON_TDNF_ERROR(dwError);

Expand Down

0 comments on commit 4d537d3

Please sign in to comment.