Add cgit_free_commitinfo() and use where needed

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
这个提交包含在:
Lars Hjemli
2006-12-16 14:58:20 +01:00
父节点 fa82b03e05
当前提交 aaa24bdd30
修改 5 个文件,包含 15 行新增8 行删除

查看文件

@@ -61,8 +61,5 @@ void cgit_print_commit(const char *hex)
html("<div class='commit-msg'>");
html_txt(info->msg);
html("</div>");
free(info->author);
free(info->committer);
free(info->subject);
free(info);
cgit_free_commitinfo(info);
}