mirror of
https://git.zx2c4.com/cgit
synced 2025-09-02 23:35:56 +00:00
Add cgit_free_commitinfo() and use where needed
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user