diff --git a/client/packageutils.c b/client/packageutils.c index b7f5d38a..8c0d1b73 100644 --- a/client/packageutils.c +++ b/client/packageutils.c @@ -405,6 +405,7 @@ TDNFPkgInfoFilterNewest( { pPkgInfo->pNext = ppPkgInfos[i]; pPkgInfo = ppPkgInfos[i]; + pPkgInfo->pNext = NULL; } }