summaryrefslogtreecommitdiff
path: root/lib/libalpm/deps.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-04-26 21:08:34 -0400
committerDan McGee <dan@archlinux.org>2007-04-28 02:59:58 -0400
commita3491224df3209563b68cc45b9b2d8ab747d208a (patch)
tree46f0b25b5c457479cc937e10957562ce751cd9fd /lib/libalpm/deps.c
parent0984dab1f2b7beae455518b06aa5675890e01d9c (diff)
downloadpacman-a3491224df3209563b68cc45b9b2d8ab747d208a.tar.xz
Remove FREEPKG macro and correctly type _alpm_pkg_free
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.c')
-rw-r--r--lib/libalpm/deps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c
index 3fdf0676..3a55dae1 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -656,7 +656,7 @@ int _alpm_resolvedeps(pmdb_t *local, alpm_list_t *dbs_sync, pmpkg_t *syncpkg,
if(alpm_list_find_str(handle->ignorepkg, alpm_pkg_get_name(sync))) {
pmpkg_t *dummypkg = _alpm_pkg_new(miss->target, NULL);
QUESTION(trans, PM_TRANS_CONV_INSTALL_IGNOREPKG, dummypkg, sync, NULL, &usedep);
- FREEPKG(dummypkg);
+ _alpm_pkg_free(dummypkg);
}
if(usedep) {
trail = alpm_list_add(trail, sync);