diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-10-20 21:47:59 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-10-20 21:48:16 -0400 |
commit | 4fc5efb6c299f9316a6a9d33a2fa6be8f14f88af (patch) | |
tree | 7ed855a26a5f4aac06c5cf2c4a93f0f68967e472 | |
parent | 7ec0a2ff1e1df2d80415a1ffbb42dbac27c11c79 (diff) | |
download | expac-4fc5efb6c299f9316a6a9d33a2fa6be8f14f88af.tar.xz |
free_inner results when --file is used
-rw-r--r-- | expac.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -637,6 +637,9 @@ int main(int argc, char *argv[]) { } ret = !!ret; /* clamp to zero/one */ + if(localpkg) { + alpm_list_free_inner(results, (alpm_list_fn_free)alpm_pkg_free); + } alpm_list_free(results); finish: |