Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin/apply: make try_create_file() return -1 on error
[gitweb.git]
/
parse-options-cb.c
diff --git
a/parse-options-cb.c
b/parse-options-cb.c
index 239898d946f06d102030569fd45780f523fdcd5a..ba5acf3111d809a3c77314fb2c0852854620cfae 100644
(file)
--- a/
parse-options-cb.c
+++ b/
parse-options-cb.c
@@
-144,7
+144,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;
}