index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-01-12 01:27:02 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-21 19:33:32 -0600 |
commit | 927af790ee3ff1495acd2c6b33378a7ab20e0c67 (patch) | |
tree | 200a2cfdcce855f478530e018d1604237b345446 /lib/libalpm/package.c | |
parent | f6785dcb89e380f0f3062b4b7aa485e1cd3c5830 (diff) |
-rw-r--r-- | lib/libalpm/package.c | 3 |
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index a6e7af34..40667038 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -845,7 +845,8 @@ void _alpm_pkg_free(pmpkg_t *pkg) FREELIST(pkg->optdepends); FREELIST(pkg->conflicts); FREELIST(pkg->provides); - FREELIST(pkg->deltas); + alpm_list_free_inner(pkg->deltas, (alpm_list_fn_free)_alpm_delta_free); + alpm_list_free(pkg->deltas); if(pkg->origin == PKG_FROM_FILE) { FREE(pkg->origin_data.file); |