aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c1
1 files changed, 1 insertions, 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)
591 cgit_print_pageheader(); 591 cgit_print_pageheader();
592 cgit_print_error("Invalid branch: %s", tmp); 592 cgit_print_error("Invalid branch: %s", tmp);
593 cgit_print_docend(); 593 cgit_print_docend();
594 free(tmp);
594 return 1; 595 return 1;
595 } 596 }
596 sort_string_list(&ctx.repo->submodules); 597 sort_string_list(&ctx.repo->submodules);