Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/database.c6
1 files changed, 4 insertions, 2 deletions
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;
}