diff options
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -789,11 +789,11 @@ return_files(Header header, int filter_mode) { he_dirIndexes->tag = RPMTAG_DIRINDEXES; if(headerGet(header, he_dirIndexes, 0)) - dirNames = he_dirNames->p.argv; + dirIndexes = he_dirIndexes->p.ui32p; he_dirNames->tag = RPMTAG_DIRNAMES; if(headerGet(header, he_dirNames, 0)) - dirIndexes = he_dirIndexes->p.ui32p; + dirNames = he_dirNames->p.argv; if (!baseNames || !dirNames || !dirIndexes) { @@ -827,6 +827,7 @@ return_files(Header header, int filter_mode) { } baseNames = _free(baseNames); + dirIndexes = _free(dirIndexes); dirNames = _free(dirNames); list = _free(list); } |