diff options
Diffstat (limited to 'ui-commit.c')
-rw-r--r-- | ui-commit.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui-commit.c b/ui-commit.c index b441e14..f654208 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -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); } |