main: free mergemaster'd fragment lists

feature/tap-sh
William Pitcock 2012-05-06 21:16:32 -05:00
parent 36269f760b
commit 1b1e8dcd1a
1 changed files with 4 additions and 0 deletions

4
main.c
View File

@ -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)