From aaa24bdd30303128bded8487cd9f63b54c3b8dcd Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sat, 16 Dec 2006 14:58:20 +0100 Subject: Add cgit_free_commitinfo() and use where needed Signed-off-by: Lars Hjemli --- ui-commit.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ui-commit.c') 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("
"); html_txt(info->msg); html("
"); - free(info->author); - free(info->committer); - free(info->subject); - free(info); + cgit_free_commitinfo(info); } -- cgit v1.2.3-59-g8ed1b