From: Paul Mangan Date: Mon, 6 Jun 2005 07:32:31 +0000 (+0000) Subject: 2005-06-06 [paul] 1.9.11cvs41 X-Git-Tag: rel_1_9_12~67 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=0a0ba883d36e35087223f577959e60b5ae3b08b2 2005-06-06 [paul] 1.9.11cvs41 * src/textview.c don't g_free() a static gchar buffer --- diff --git a/ChangeLog-gtk2.claws b/ChangeLog-gtk2.claws index 3ecad0cf4..86f2e1846 100644 --- a/ChangeLog-gtk2.claws +++ b/ChangeLog-gtk2.claws @@ -1,3 +1,8 @@ +2005-06-06 [paul] 1.9.11cvs41 + + * src/textview.c + don't g_free() a static gchar buffer + 2005-06-05 [colin] 1.9.11cvs40 * src/mainwindow.c diff --git a/PATCHSETS b/PATCHSETS index b92218988..0c131745c 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -529,3 +529,4 @@ ( cvs diff -u -r 1.207.2.39 -r 1.207.2.40 src/folderview.c; ) > 1.9.11cvs38.patchset ( cvs diff -u -r 1.382.2.126 -r 1.382.2.127 src/compose.c; ) > 1.9.11cvs39.patchset ( cvs diff -u -r 1.274.2.40 -r 1.274.2.41 src/mainwindow.c; cvs diff -u -r 1.94.2.52 -r 1.94.2.53 src/messageview.c; cvs diff -u -r 1.395.2.73 -r 1.395.2.74 src/summaryview.c; ) > 1.9.11cvs40.patchset +( cvs diff -u -r 1.96.2.56 -r 1.96.2.57 src/textview.c; ) > 1.9.11cvs41.patchset diff --git a/configure.ac b/configure.ac index ea9d14622..bc9c4aa4c 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=9 MICRO_VERSION=11 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=40 +EXTRA_VERSION=41 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/textview.c b/src/textview.c index a75e5d01d..24b8199b0 100644 --- a/src/textview.c +++ b/src/textview.c @@ -1352,10 +1352,8 @@ void textview_write_link(TextView *textview, const gchar *str, else if (conv_convert(conv, buf, sizeof(buf), str) < 0) conv_utf8todisp(buf, sizeof(buf), str); - if (g_utf8_validate(buf, -1, NULL) == FALSE) { - g_free(buf); + if (g_utf8_validate(buf, -1, NULL) == FALSE) return; - } strcrchomp(buf);