diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-03-14 16:59:17 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-03-14 16:59:17 +0000 |
commit | d8b0ce160b9dcbe2b3b1919268feb9cac5dda976 (patch) | |
tree | 91d5eefad629565880bf02fb621f9bd359c3577c | |
parent | bdb6a57dffe028e673708ae1bd26207c6a8ad08e (diff) |
fixed a memory leak.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@168 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ChangeLog.ja | 4 | ||||
-rw-r--r-- | src/compose.c | 2 |
3 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2005-03-15 + + * src/compose.c: compose_write_to_file(): fixed a memory leak. + 2005-03-14 * src/compose.c: compose_write_to_file(): do a strict check for code diff --git a/ChangeLog.ja b/ChangeLog.ja index 3e8e7119..e8c903dc 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,7 @@ +2005-03-15 + + * src/compose.c: compose_write_to_file(): メモリリークを修正。 + 2005-03-14 * src/compose.c: compose_write_to_file(): コード変換に対して厳密な diff --git a/src/compose.c b/src/compose.c index 3e96e034..1c329d4a 100644 --- a/src/compose.c +++ b/src/compose.c @@ -2541,6 +2541,8 @@ static gint compose_write_to_file(Compose *compose, const gchar *file, AlertValue aval; gchar *msg; + g_free(buf); + msg = g_strdup_printf(_("Can't convert the character encoding of the message body from %s to %s.\n" "Send it as %s anyway?"), src_codeset, out_codeset, |