index
:
cgit
9999b0a3e9 (detached)
main
Hyperfast and read-only web frontend for git repositories
Bryce Kwon
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
cgit.c
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'cgit.c')
-rw-r--r--
cgit.c
1
1 file changed, 1 insertion, 0 deletions
diff --git a/cgit.c b/cgit.c
index ec8f69c..09fce0c 100644
--- a/
cgit.c
+++ b/
cgit.c
@@ -591,6 +591,7 @@ static int prepare_repo_cmd(void)
cgit_print_pageheader();
cgit_print_error("Invalid branch: %s", tmp);
cgit_print_docend();
+ free(tmp);
return 1;
}
sort_string_list(&ctx.repo->submodules);