diff options
-rw-r--r-- | lib/rpmtriggers.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rpmtriggers.c b/lib/rpmtriggers.c index 743ba8dee..08ed14e0b 100644 --- a/lib/rpmtriggers.c +++ b/lib/rpmtriggers.c @@ -327,6 +327,8 @@ static const char *matchFilesNext(matchFilesIter mfi) RPMDBI_DIRNAMES, mfi->pfx, 0); rpmdbFilterIterator(mfi->pi, mfi->tranPkgs, 0); + /* Only walk through each header with matches once */ + rpmdbUniqIterator(mfi->pi); } while (fx >= 0); |