X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/9a8f88658d51aeb86a79ac1121de13562ad2601f..a53042865a4ac8b1fa1d6b37720787601e181495:/ui-log.c?ds=sidebyside diff --git a/ui-log.c b/ui-log.c index c52af79..def96f6 100644 --- a/ui-log.c +++ b/ui-log.c @@ -28,10 +28,7 @@ void print_commit(struct commit *commit) html(""); html_txt(info->author); html("\n"); - free(info->author); - free(info->committer); - free(info->subject); - free(info); + cgit_free_commitinfo(info); } @@ -52,7 +49,9 @@ void cgit_print_log(const char *tip, int ofs, int cnt) html("

Log

"); html(""); - html("\n"); + html("" + "" + "\n"); if (ofs<0) ofs = 0;
DateMessageAuthor
DateMessageAuthor