diff options
author | Dan McGee <dan@archlinux.org> | 2007-04-28 03:54:25 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-28 03:54:25 -0400 |
commit | a57b2f233f28c275b0b171cb291415351f9ec87d (patch) | |
tree | 2a3cd06f53fc4d4b917c1a2f98414e445fee72ae /lib/libalpm/remove.c | |
parent | a8b683d8e29510742f94c7ff558cda19d6644b68 (diff) | |
download | pacman-a57b2f233f28c275b0b171cb291415351f9ec87d.tar.xz |
Remove FREELISTPTR macro
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/remove.c')
-rw-r--r-- | lib/libalpm/remove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index 943d4604..ce7ef9e4 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -146,7 +146,7 @@ int _alpm_remove_prepare(pmtrans_t *trans, pmdb_t *db, alpm_list_t **data) _alpm_log(PM_LOG_DEBUG, _("sorting by dependencies")); lp = _alpm_sortbydeps(trans->packages, PM_TRANS_TYPE_REMOVE); /* free the old alltargs */ - FREELISTPTR(trans->packages); + alpm_list_free(trans->packages); trans->packages = lp; EVENT(trans, PM_TRANS_EVT_CHECKDEPS_DONE, NULL, NULL); |