aboutsummaryrefslogtreecommitdiffstats
path: root/scan-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'scan-tree.c')
-rw-r--r--scan-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scan-tree.c b/scan-tree.c
index 8e3cf52..b5a10ff 100644
--- a/scan-tree.c
+++ b/scan-tree.c
@@ -174,7 +174,7 @@ static void add_repo(const char *base, struct strbuf *path, repo_config_fn fn)
174 174
175 strbuf_addstr(path, "cgitrc"); 175 strbuf_addstr(path, "cgitrc");
176 if (!stat(path->buf, &st)) 176 if (!stat(path->buf, &st))
177 parse_configfile(xstrdup(path->buf), &repo_config); 177 parse_configfile(path->buf, &repo_config);
178 178
179 strbuf_release(&rel); 179 strbuf_release(&rel);
180} 180}