Merge branch 'bw/pathspec-remove-unused-extern-decl' into maint
[gitweb.git] / parse-options-cb.c
index 2d875202cd8c8164b6604ea889ee633424fe3b55..9667bc75a08e8b64290f5f44c92b0bac35d1d0fa 100644 (file)
@@ -149,7 +149,7 @@ int parse_opt_string_list(const struct option *opt, const char *arg, int unset)
        if (!arg)
                return -1;
 
-       string_list_append(v, xstrdup(arg));
+       string_list_append(v, arg);
        return 0;
 }