index
:
cgit
ch/about-link
ch/default-pages
ch/dynamic-aging
ch/for-jason
ch/git-2-41
ch/log-commit-message
jd/render-filter
jd/zx2c4-deployment
jk/collapsible-sections
lf/filter
lf/for-jason
lh/grep
lh/pretty-blob-view
master
rm/namespace
wiki
[no description]
nobody
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
ui-blob.c
1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-blob.c b/ui-blob.c
index d3c3a10..70a671e 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;
}