Skip to content

Commit

Permalink
reposync: avoid creating a linked list with a loop
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Kurth <[email protected]>
  • Loading branch information
oliverkurth committed Dec 17, 2024
1 parent 0511340 commit e17b297
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/packageutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ TDNFPkgInfoFilterNewest(
{
pPkgInfo->pNext = ppPkgInfos[i];
pPkgInfo = ppPkgInfos[i];
pPkgInfo->pNext = NULL;
}
}

Expand Down

0 comments on commit e17b297

Please sign in to comment.