index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/remove.c | 2 |
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index 515bc538..735cf372 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -87,6 +87,8 @@ int remove_prepare(pmdb_t *db, pmtrans_t *trans, PMList **data) info = db_scan(db, miss->depend.name, INFRQ_ALL); if(!pkg_isin(info, trans->packages)) { trans->packages = pm_list_add(trans->packages, info); + } else { + FREEPKG(info); } } FREELIST(lp); |