From 9999b0a3e915c76a52be433830660e803ef71cb0 Mon Sep 17 00:00:00 2001 From: Jason A. Donenfeld Date: Fri, 17 Jan 2014 00:48:17 +0100 Subject: cgit.c: free tmp variable Signed-off-by: Jason A. Donenfeld --- cgit.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3-70-g09d2