about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-01-17 00:48:17 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2014-01-17 00:48:17 +0100
commit9999b0a3e915c76a52be433830660e803ef71cb0 (patch)
tree0e58f794759f5828a5d344a5b4164605eeee30fb
parentSwitch to exclusively using global ctx (diff)
downloadcgit-pink-9999b0a3e915c76a52be433830660e803ef71cb0.tar.gz
cgit-pink-9999b0a3e915c76a52be433830660e803ef71cb0.zip
cgit.c: free tmp variable
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-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)
 		cgit_print_pageheader();
 		cgit_print_error("Invalid branch: %s", tmp);
 		cgit_print_docend();
+		free(tmp);
 		return 1;
 	}
 	sort_string_list(&ctx.repo->submodules);
'>2019-01-13Shorten $HOME to ~ in prompt expansionJune McEnroe 2019-01-13Document PSlitJune McEnroe 2019-01-13Document PS0June McEnroe 2019-01-13Set PS0 in cashJune McEnroe 2019-01-13Add PS0June McEnroe 2019-01-13Change default ENV from cashrc to env.shJune McEnroe 2019-01-13Use colours in cash promptsJune McEnroe 2019-01-12Set PSlit like NetBSD shJune McEnroe 2019-01-12Install gnupg2 from pkgsrc and symlink gpgJune McEnroe 2019-01-12Reference cash builtin man pages in cash.1 SEE ALSOJune McEnroe 2019-01-12Restore cash builtin man page datesJune McEnroe 2019-01-12Use local libeditJune McEnroe 2019-01-12Replace libedit MakefileJune McEnroe 2019-01-11Import /usr/src/lib/libedit from NetBSD 8.0June McEnroe 2019-01-11Add PSlit for prompt escapesJune McEnroe 2019-01-11Don't make depend automaticallyJune McEnroe