* src/codeconv.c
Fix leak
+2005-10-22 [colin] 1.9.15cvs93
+
+ * src/codeconv.c
+ Fix leak
+
2005-10-22 [colin] 1.9.15cvs92
* src/codeconv.c
( cvs diff -u -r 1.382.2.186 -r 1.382.2.187 src/compose.c; ) > 1.9.15cvs90.patchset
( cvs diff -u -r 1.2.16.1 -r 1.2.16.2 src/pixmaps/new.xpm; cvs diff -u -r 1.2.16.2 -r 1.2.16.3 src/pixmaps/unread.xpm; ) > 1.9.15cvs91.patchset
( cvs diff -u -r 1.65.2.41 -r 1.65.2.42 src/codeconv.c; ) > 1.9.15cvs92.patchset
+( cvs diff -u -r 1.65.2.42 -r 1.65.2.43 src/codeconv.c; ) > 1.9.15cvs93.patchset
MICRO_VERSION=15
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=92
+EXTRA_VERSION=93
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
if (tmpstr && g_utf8_validate(tmpstr, -1, NULL)) {
strncpy2(outbuf, tmpstr, outlen);
g_free(tmpstr);
- } else
+ return;
+ } else {
+ if (tmpstr)
+ g_free(tmpstr);
conv_utf8todisp(outbuf, outlen, inbuf);
+ }
}
static void conv_noconv(gchar *outbuf, gint outlen, const gchar *inbuf)