From: Christian Hesse <[email protected]>
Coverity-id: 13943
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 9824c90..1ded839 100644
--- a/ui-blob.c
+++ b/ui-blob.c
@@ -99,6 +99,7 @@ int cgit_print_file(char *path, const char *head, int
file_only)
return -1;
buf[size] = '\0';
html_raw(buf, size);
+ free(buf);
return 0;
}
--
2.6.1
_______________________________________________
CGit mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/cgit