Add cgit_free_commitinfo() and use where needed

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Tá an tiomantas seo le fáil i:
Lars Hjemli
2006-12-16 14:58:20 +01:00
tuismitheoir fa82b03e05
tiomantas aaa24bdd30
D'athraigh 5 comhad le 15 breiseanna agus 8 scriosta

Féach ar an gComhad

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