about summary refs log tree commit diff
path: root/shared.c
diff options
context:
space:
mode:
authorJonathan Bastien-Filiatrault <joe@x2a.org>2007-10-26 18:09:06 -0400
committerJonathan Bastien-Filiatrault <joe@x2a.org>2007-11-05 18:13:30 -0500
commit3845e177e4e0b231efb6fda0ac3cd3a2d8f34d4b (patch)
tree548671b6339e9a1a252ded4d534f11bfcd560043 /shared.c
parentDon't show the the branch selector button if javascript is enabled (diff)
downloadcgit-pink-3845e177e4e0b231efb6fda0ac3cd3a2d8f34d4b.tar.gz
cgit-pink-3845e177e4e0b231efb6fda0ac3cd3a2d8f34d4b.zip
Add commit->msg_encoding, allocate msg dynamicly.
Diffstat (limited to '')
-rw-r--r--shared.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared.c b/shared.c
index e06df91..a04c4dc 100644
--- a/shared.c
+++ b/shared.c
@@ -265,6 +265,8 @@ void *cgit_free_commitinfo(struct commitinfo *info)
 	free(info->committer);
 	free(info->committer_email);
 	free(info->subject);
+	free(info->msg);
+	free(info->msg_encoding);
 	free(info);
 	return NULL;
 }