diff options
Diffstat (limited to 'diff-no-index.c')
-rw-r--r-- | diff-no-index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diff-no-index.c b/diff-no-index.c index 5f7317ced9..79229382b0 100644 --- a/diff-no-index.c +++ b/diff-no-index.c @@ -266,7 +266,7 @@ void diff_no_index(struct rev_info *revs, */ p = file_from_standard_input; else if (prefix) - p = xstrdup(prefix_filename(prefix, p)); + p = prefix_filename(prefix, p); paths[i] = p; } |