From 1b1e8dcd1ab1757015d1fa1d463ede9978a7ae49 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 6 May 2012 21:16:32 -0500 Subject: [PATCH] main: free mergemaster'd fragment lists --- main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.c b/main.c index 8a9329b..9873fdd 100644 --- a/main.c +++ b/main.c @@ -371,6 +371,8 @@ pkg_queue_walk(pkg_queue_t *head) wanted_something++; pkg_traverse(&world, collect_cflags, &list, maximum_traverse_depth, global_traverse_flags | PKGF_SEARCH_PRIVATE); print_cflags(list); + + pkg_fragment_free(list); } if (want_libs) @@ -380,6 +382,8 @@ pkg_queue_walk(pkg_queue_t *head) wanted_something++; pkg_traverse(&world, collect_libs, &list, maximum_traverse_depth, global_traverse_flags); print_libs(list); + + pkg_fragment_free(list); } if (want_variable)