index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/add.c | 3 |
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index adfa8f0c..ea661dc4 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -295,8 +295,7 @@ static int upgrade_remove(pmpkg_t *oldpkg, pmpkg_t *newpkg, pmtrans_t *trans, pm tr = NULL; /* restore our "NoUpgrade" list to previous state */ - alpm_list_free_inner(handle->noupgrade, free); - alpm_list_free(handle->noupgrade); + FREELIST(handle->noupgrade); handle->noupgrade = old_noupgrade; if(ret == -1) { |