[PATCH v2 1/1] Don't free remote->name after fetch

2016-06-14 Thread kmcguigan
From: Keith McGuigan Make fetch's string_list of remote names owns all of its string items (strdup'ing when necessary) so that it can deallocate them safely when clearing. --- builtin/fetch.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/builtin/fetch.c b/builtin/fet

[PATCH 1/1] Don't free remote->name after fetch

2016-06-13 Thread kmcguigan
From: Keith McGuigan The string_list gets populated with the names from the remotes[] array, which are not dup'd and the list does not own. Signed-of-by: Keith McGuigan --- builtin/fetch.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/builtin/fetch.c b/builtin/fetch.c index 630ae6a1bb78