Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
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 /src
parent12f74fd8950b89da15a397ed26bfeb226e20a443 (diff)
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 'src')
-rw-r--r--src/pacman/conf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index 261c8213..a283d7f4 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -143,6 +143,7 @@ int config_free(config_t *oldconfig)
FREELIST(oldconfig->assumeinstalled);
FREELIST(oldconfig->noupgrade);
FREELIST(oldconfig->noextract);
+ FREELIST(oldconfig->overwrite_files);
free(oldconfig->configfile);
free(oldconfig->rootdir);
free(oldconfig->dbpath);