From 4fc5efb6c299f9316a6a9d33a2fa6be8f14f88af Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Thu, 20 Oct 2011 21:47:59 -0400 Subject: free_inner results when --file is used --- expac.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/expac.c b/expac.c index 0f944c6..0e123cc 100644 --- a/expac.c +++ b/expac.c @@ -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: -- cgit v1.2.3-70-g09d2