summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui-plain.c1
1 files changed, 1 insertions, 0 deletions
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 @@ static int print_object(const unsigned char *sha1, const char *path)
cgit_print_http_headers();
html_raw(buf, size);
free(mimetype);
+ free(buf);
return 1;
}