X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/aa943bc9a68ccdcc5cbe29f6ac3b5e787d4c22ca..979db79a80f1926c677691b68eb22b4852a77b50:/ui-plain.c 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; }