index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-11-15 08:05:10 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-15 08:05:10 -0600 |
commit | 4ce13e2398a8ec3f960fbf544a17507ffc17eca1 (patch) | |
tree | 717fb600c6658135d8636192efe746bf9012db68 | |
parent | 2f55733be35e7ec4188ddab17a92ed67faa7210d (diff) |
-rw-r--r-- | lib/libalpm/deps.c | 2 |
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 548b643e..e35838ac 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -582,7 +582,7 @@ static int can_remove_package(pmdb_t *db, pmpkg_t *pkg, alpm_list_t *targets, for(i = requiredby; i; i = i->next) { pmpkg_t *reqpkg = _alpm_db_get_pkgfromcache(db, i->data); if(reqpkg && !_alpm_pkg_find(alpm_pkg_get_name(reqpkg), targets)) { - FREE(requiredby); + FREELIST(requiredby); return(0); } } |