Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t0021: write "OUT <size>" only on success
[gitweb.git]
/
parse-options.c
diff --git
a/parse-options.c
b/parse-options.c
index ba6cc30b26aebdcd1a9a14b6e7a2ad4a481ab128..a23a1e67f04f8072bea357cbed34fdc1b39ab7ae 100644
(file)
--- a/
parse-options.c
+++ b/
parse-options.c
@@
-40,7
+40,7
@@
static void fix_filename(const char *prefix, const char **file)
if (!file || !*file || !prefix || is_absolute_path(*file)
|| !strcmp("-", *file))
return;
- *file =
xstrdup(prefix_filename(prefix, *file)
);
+ *file =
prefix_filename(prefix, *file
);
}
static int opt_command_mode_error(const struct option *opt,