about summary refs log tree commit diff
path: root/shared.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-11-06 00:38:18 +0100
committerLars Hjemli <hjemli@gmail.com>2007-11-06 00:38:18 +0100
commit55ac326ecb01161bf62865ae3350acf85db97d63 (patch)
treee37bcd8fef5523aa627ec9fdcd3401105f8e579d /shared.c
parentShow lines changed as -n/+m in shortlogs (diff)
parentUse utf8::reencode_string from git (diff)
downloadcgit-pink-55ac326ecb01161bf62865ae3350acf85db97d63.tar.gz
cgit-pink-55ac326ecb01161bf62865ae3350acf85db97d63.zip
Merge branch 'iconv-rebased' of http://x2a.org/pub/git/cgit
* 'iconv-rebased' of http://x2a.org/pub/git/cgit:
  Use utf8::reencode_string from git
  Convert subject and message with iconv_msg.
  Add iconv_msg function.
  Set msg_encoding according to the header.
  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;
 }