Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
get_mail_commit_oid(): avoid resource leak
[gitweb.git]
/
fast-import.c
diff --git
a/fast-import.c
b/fast-import.c
index 1ea3a08609bd8ece7a22ce33c78a0a798304375f..cf58f875b889eb0360df1f58cacf4f4017c6c10f 100644
(file)
--- a/
fast-import.c
+++ b/
fast-import.c
@@
-3202,7
+3202,7
@@
static char* make_fast_import_path(const char *path)
{
if (!relative_marks_paths || is_absolute_path(path))
return xstrdup(path);
- return
xstrdup(git_path("info/fast-import/%s", path)
);
+ return
git_pathdup("info/fast-import/%s", path
);
}
static void option_import_marks(const char *marks,