commit | 979db79a80f1926c677691b68eb22b4852a77b50 | [log] [tgz] |
---|---|---|
author | Christian Hesse <mail@eworm.de> | Fri Oct 09 14:55:49 2015 +0200 |
committer | Jason A. Donenfeld <Jason@zx2c4.com> | Fri Oct 09 15:50:09 2015 +0200 |
tree | a4854058404acfddf73a401dd16b866eecc18d65 | |
parent | 51338f7658f81ffc120969108ed88d97c1888617 [diff] |
ui-plain: fix resource leak: free before return Coverity-id: 13940 Signed-off-by: Christian Hesse <mail@eworm.de>
diff --git a/ui-plain.c b/ui-plain.c index 0dd1a8b..4c73607 100644 --- a/ui-plain.c +++ b/ui-plain.c
@@ -51,6 +51,7 @@ cgit_print_http_headers(); html_raw(buf, size); free(mimetype); + free(buf); return 1; }