aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-05-31 23:56:02 +0800
committerDan Winship <danw@src.gnome.org>2001-05-31 23:56:02 +0800
commitd680763ebadd642b113171e74d7f74a61d351ee5 (patch)
tree397cf10dfd21fbdc18321fbcd23c822e3c8655af
parent65460ea5357a9f5638d3f6d816a97a9428971f31 (diff)
downloadgsoc2013-evolution-d680763ebadd642b113171e74d7f74a61d351ee5.tar.gz
gsoc2013-evolution-d680763ebadd642b113171e74d7f74a61d351ee5.tar.zst
gsoc2013-evolution-d680763ebadd642b113171e74d7f74a61d351ee5.zip
Add a missing iconv_close
* e-msg-composer.c (best_encoding): Add a missing iconv_close svn path=/trunk/; revision=10060
-rw-r--r--composer/ChangeLog4
-rw-r--r--composer/e-msg-composer.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 39ea911219..4e7b79db11 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,7 @@
+2001-05-31 Dan Winship <danw@ximian.com>
+
+ * e-msg-composer.c (best_encoding): Add a missing iconv_close
+
2001-05-30 Dan Winship <danw@ximian.com>
* e-msg-composer.c (build_message): Use the config-specified
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index c4d597af26..9736572c87 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -156,6 +156,7 @@ best_encoding (GByteArray *buf, const char *charset)
count++;
}
} while (status == -1 && errno == E2BIG);
+ iconv_close (cd);
if (status == -1)
return -1;