index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | morganamilo <morganamilo@gmail.com> | 2019-06-14 02:50:10 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-06-20 16:56:57 +1000 |
commit | 686a9ee8e7775fc8d701e0de8dde06a3b39df8e6 (patch) | |
tree | 5948fd3da05e9ddf6c3b84b663c1ead7f6eb3e24 /src | |
parent | 4ca5f5949b42f76867f11eec0a5379ed3eb531d2 (diff) |
-rw-r--r-- | src/pacman/database.c | 6 |
diff --git a/src/pacman/database.c b/src/pacman/database.c index f3b890ce..7a792bad 100644 --- a/src/pacman/database.c +++ b/src/pacman/database.c @@ -105,7 +105,8 @@ static int check_db_missing_deps(alpm_list_t *pkglist) free(depstring); ret++; } - FREELIST(data); + alpm_list_free_inner(data, (alpm_list_fn_free)alpm_depmissing_free); + alpm_list_free(data); return ret; } @@ -159,7 +160,8 @@ static int check_db_local_package_conflicts(alpm_list_t *pkglist) conflict->package1, conflict->package2); ret++; } - FREELIST(data); + alpm_list_free_inner(data, (alpm_list_fn_free)alpm_conflict_free); + alpm_list_free(data); return ret; } |