Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r--lib/libalpm/package.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index 75dabd84..f96b7914 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -1022,8 +1022,7 @@ pmpkg_t *_alpm_pkg_load(const char *pkgfile, unsigned short full)
_alpm_log(PM_LOG_ERROR, _("missing package filelist in %s, generating one\n"), pkgfile);
info->files = all_files;
} else {
- alpm_list_free_inner(all_files, free);
- alpm_list_free(all_files);
+ FREELIST(all_files);
}
/* this is IMPORTANT - "checking for conflicts" requires a sorted list, so we