ui-blob: fix resource leak: free before return

Coverity-id: 13943
Signed-off-by: Christian Hesse <mail@eworm.de>
这个提交包含在:
Christian Hesse 2015-10-10 16:56:24 +02:00 提交者 Jason A. Donenfeld
父节点 08a2b818f2
当前提交 30802126d4

查看文件

@ -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;
}