From: Christian Hesse <[email protected]>
Coverity-id: 13944
Signed-off-by: Christian Hesse <[email protected]>
---
ui-blob.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui-blob.c b/ui-blob.c
index d3c3a10..9824c90 100644
--- a/ui-blob.c
+++ b/ui-blob.c
@@ -170,4 +170,5 @@ void cgit_print_blob(const char *hex, char *path, const
char *head, int file_onl
ctx.page.filename = path;
cgit_print_http_headers();
html_raw(buf, size);
+ free(buf);
}
--
2.6.1
_______________________________________________
CGit mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/cgit