Thread (34 messages) flat view 34 messages, 4 authors, 2016-06-16

Re: [PATCH 08/14] fetch-pack: factor out get_selected_capabilities_list

From: David Turner <hidden>
Date: 2016-06-16 02:19:07

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help