From: Keith McGuigan <kmcguigan@xxxxxxxxxxxxxxxx> 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 <kmcguigan@xxxxxxxxxxxxxxxx> --- builtin/fetch.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/builtin/fetch.c b/builtin/fetch.c index 630ae6a1bb78..181da5a2e7a3 100644 --- a/builtin/fetch.c +++ b/builtin/fetch.c @@ -1347,8 +1347,6 @@ int cmd_fetch(int argc, const char **argv, const char *prefix) argv_array_clear(&options); } - /* All names were strdup()ed or strndup()ed */ - list.strdup_strings = 1; string_list_clear(&list, 0); close_all_packs(); -- 2.8.0.rc3.95.gc8e4e3a -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html