summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2017-04-22 17:34:11 -0400
committerAllan McRae <allan@archlinux.org>2017-05-08 18:53:55 +1000
commitbf468c09562ecfa552f514c9f897742b309e64ee (patch)
tree002895ae8043c3d35a919c451e51d54adbfa1c84 /lib
parent12f74fd8950b89da15a397ed26bfeb226e20a443 (diff)
downloadpacman-bf468c09562ecfa552f514c9f897742b309e64ee.tar.xz
free memory for --overwrite lists
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/handle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c
index b6b27881..502a5d9e 100644
--- a/lib/libalpm/handle.c
+++ b/lib/libalpm/handle.c
@@ -92,6 +92,7 @@ void _alpm_handle_free(alpm_handle_t *handle)
FREELIST(handle->noextract);
FREELIST(handle->ignorepkg);
FREELIST(handle->ignoregroup);
+ FREELIST(handle->overwrite_files);
alpm_list_free_inner(handle->assumeinstalled, (alpm_list_fn_free)alpm_dep_free);
alpm_list_free(handle->assumeinstalled);