mirror of
https://git.zx2c4.com/cgit
synced 2025-08-31 23:10:04 +02:00
Add cgit_free_commitinfo() and use where needed
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
fa82b03e05
commit
aaa24bdd30
5 changed files with 15 additions and 8 deletions
5
ui-log.c
5
ui-log.c
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue