index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/conflict.c | 6 |
diff --git a/lib/libalpm/conflict.c b/lib/libalpm/conflict.c index 754d5a91..91fd794d 100644 --- a/lib/libalpm/conflict.c +++ b/lib/libalpm/conflict.c @@ -307,8 +307,7 @@ alpm_list_t *_alpm_db_find_conflicts(pmdb_t *db, pmtrans_t *trans, char *root) conflicts = add_fileconflict(conflicts, PM_CONFLICT_TYPE_TARGET, path, alpm_pkg_get_name(p1), alpm_pkg_get_name(p2)); } - alpm_list_free_inner(tmpfiles, &free); - alpm_list_free(tmpfiles); + FREELIST(tmpfiles); } } @@ -413,8 +412,7 @@ alpm_list_t *_alpm_db_find_conflicts(pmdb_t *db, pmtrans_t *trans, char *root) } } } - alpm_list_free_inner(tmpfiles, &free); - alpm_list_free(tmpfiles); + FREELIST(tmpfiles); } return(conflicts); |