From a3491224df3209563b68cc45b9b2d8ab747d208a Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 26 Apr 2007 21:08:34 -0400 Subject: Remove FREEPKG macro and correctly type _alpm_pkg_free Signed-off-by: Dan McGee --- lib/libalpm/deps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/deps.c') 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); -- cgit v1.2.3-70-g09d2