index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2008-07-15 01:07:22 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-07-15 19:16:42 -0500 |
commit | 03021713e5315312b150e6ac9c5cf48fe68f7615 (patch) | |
tree | fd2a3ebf3419726d048874b5f5d2ad9f73e7b542 /lib/libalpm/trans.c | |
parent | ffa3056010b6ea104a8d772d0349a705575a13ca (diff) |
-rw-r--r-- | lib/libalpm/trans.c | 3 |
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 06084ae9..d6b165d3 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -251,8 +251,7 @@ void _alpm_trans_free(pmtrans_t *trans) if(trans->type == PM_TRANS_TYPE_SYNC) { alpm_list_free_inner(trans->packages, (alpm_list_fn_free)_alpm_sync_free); - } else if (trans->type == PM_TRANS_TYPE_REMOVE || - trans->type == PM_TRANS_TYPE_REMOVEUPGRADE) { + } else { alpm_list_free_inner(trans->packages, (alpm_list_fn_free)_alpm_pkg_free); } alpm_list_free(trans->packages); |