index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-04-26 21:08:34 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-28 02:59:58 -0400 |
commit | a3491224df3209563b68cc45b9b2d8ab747d208a (patch) | |
tree | 46f0b25b5c457479cc937e10957562ce751cd9fd /lib/libalpm/alpm.c | |
parent | 0984dab1f2b7beae455518b06aa5675890e01d9c (diff) |
-rw-r--r-- | lib/libalpm/alpm.c | 4 |
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index fd467bfc..4239430e 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -1128,7 +1128,7 @@ alpm_list_t SYMEXPORT *alpm_get_upgrades() /* none found -- enter pkg into the final sync list */ sync = _alpm_sync_new(PM_SYNC_TYPE_REPLACE, spkg, NULL); if(sync == NULL) { - FREEPKG(dummy); + _alpm_pkg_free(dummy); pm_errno = PM_ERR_MEMORY; goto error; } @@ -1192,7 +1192,7 @@ alpm_list_t SYMEXPORT *alpm_get_upgrades() } sync = _alpm_sync_new(PM_SYNC_TYPE_UPGRADE, spkg, dummy); if(sync == NULL) { - FREEPKG(dummy); + _alpm_pkg_free(dummy); goto error; } syncpkgs = alpm_list_add(syncpkgs, sync); |