forked from ariadne/pkgconf
main: free mergemaster'd fragment lists
parent
36269f760b
commit
1b1e8dcd1a
4
main.c
4
main.c
|
@ -371,6 +371,8 @@ pkg_queue_walk(pkg_queue_t *head)
|
||||||
wanted_something++;
|
wanted_something++;
|
||||||
pkg_traverse(&world, collect_cflags, &list, maximum_traverse_depth, global_traverse_flags | PKGF_SEARCH_PRIVATE);
|
pkg_traverse(&world, collect_cflags, &list, maximum_traverse_depth, global_traverse_flags | PKGF_SEARCH_PRIVATE);
|
||||||
print_cflags(list);
|
print_cflags(list);
|
||||||
|
|
||||||
|
pkg_fragment_free(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (want_libs)
|
if (want_libs)
|
||||||
|
@ -380,6 +382,8 @@ pkg_queue_walk(pkg_queue_t *head)
|
||||||
wanted_something++;
|
wanted_something++;
|
||||||
pkg_traverse(&world, collect_libs, &list, maximum_traverse_depth, global_traverse_flags);
|
pkg_traverse(&world, collect_libs, &list, maximum_traverse_depth, global_traverse_flags);
|
||||||
print_libs(list);
|
print_libs(list);
|
||||||
|
|
||||||
|
pkg_fragment_free(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (want_variable)
|
if (want_variable)
|
||||||
|
|
Loading…
Reference in New Issue