mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 16:38:42 +00:00
cgit.c: free tmp variable
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
f60ffa143c
commit
9999b0a3e9
1
cgit.c
1
cgit.c
@ -591,6 +591,7 @@ static int prepare_repo_cmd(void)
|
|||||||
cgit_print_pageheader();
|
cgit_print_pageheader();
|
||||||
cgit_print_error("Invalid branch: %s", tmp);
|
cgit_print_error("Invalid branch: %s", tmp);
|
||||||
cgit_print_docend();
|
cgit_print_docend();
|
||||||
|
free(tmp);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
sort_string_list(&ctx.repo->submodules);
|
sort_string_list(&ctx.repo->submodules);
|
||||||
|
Loading…
Reference in New Issue
Block a user