Add cgit_free_commitinfo() and use where needed

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli
2006-12-16 14:58:20 +01:00
父節點 fa82b03e05
當前提交 aaa24bdd30
共有 5 個文件被更改,包括 15 次插入8 次删除

查看文件

@@ -28,10 +28,7 @@ void print_commit(struct commit *commit)
html("</td><td>");
html_txt(info->author);
html("</td></tr>\n");
free(info->author);
free(info->committer);
free(info->subject);
free(info);
cgit_free_commitinfo(info);
}