-rw-r--r-- | ui-log.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -25,16 +25,13 @@ void print_commit(struct commit *commit) html_link_open(url, NULL, NULL); html_txt(info->subject); html_link_close(); 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); } void cgit_print_log(const char *tip, int ofs, int cnt) { struct rev_info rev; |