about summary refs log tree commit diff
path: root/ui-log.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2006-12-16 14:58:20 +0100
committerLars Hjemli <hjemli@gmail.com>2006-12-16 14:58:20 +0100
commitaaa24bdd30303128bded8487cd9f63b54c3b8dcd (patch)
tree0fd8b32643c205d819f98a827eca3e78fad21bfa /ui-log.c
parentSimplify ui-commit.c (diff)
downloadcgit-pink-aaa24bdd30303128bded8487cd9f63b54c3b8dcd.tar.gz
cgit-pink-aaa24bdd30303128bded8487cd9f63b54c3b8dcd.zip
Add cgit_free_commitinfo() and use where needed
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r--ui-log.c5
1 files changed, 1 insertions, 4 deletions
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);
 }