On Fri, 2016-04-29 at 16:34 -0700, Stefan Beller wrote:
> + struct string_list_item *item;
> + get_selected_capabilities_list(&list, args);
> + for_each_string_list_item(item, &list) {
> + strbuf_addstr(&c, " ");
> + strbuf_addstr(&c, item->string);
> + }
> +
I think the contents of list leak here -- you need a string_list_clear.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html