From aaa24bdd30303128bded8487cd9f63b54c3b8dcd Mon Sep 17 00:00:00 2001 From: Lars Hjemli <hjemli@gmail.com> Date: Sat, 16 Dec 2006 14:58:20 +0100 Subject: Add cgit_free_commitinfo() and use where needed Signed-off-by: Lars Hjemli <hjemli@gmail.com> --- ui-log.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ui-log.c') diff --git a/ui-log.c b/ui-log.c index c52af79..b7da49f 100644 --- a/ui-log.c +++ b/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); } -- cgit v1.2.3