diff options
| author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-01-17 00:48:17 +0100 | 
|---|---|---|
| committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-01-17 00:48:17 +0100 | 
| commit | 9999b0a3e915c76a52be433830660e803ef71cb0 (patch) | |
| tree | 0e58f794759f5828a5d344a5b4164605eeee30fb | |
| parent | Switch to exclusively using global ctx (diff) | |
| download | cgit-9999b0a3e915c76a52be433830660e803ef71cb0.tar.gz cgit-9999b0a3e915c76a52be433830660e803ef71cb0.tar.bz2 cgit-9999b0a3e915c76a52be433830660e803ef71cb0.zip | |
cgit.c: free tmp variable
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
| -rw-r--r-- | cgit.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| @@ -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); | 
