2005-06-06 [paul] 1.9.11cvs41
authorPaul Mangan <paul@claws-mail.org>
Mon, 6 Jun 2005 07:32:31 +0000 (07:32 +0000)
committerPaul Mangan <paul@claws-mail.org>
Mon, 6 Jun 2005 07:32:31 +0000 (07:32 +0000)
* src/textview.c
don't g_free() a static gchar buffer

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/textview.c

index 3ecad0cf4bc35a9478b6644ae9734496af7c0f58..86f2e18469bec267ff3e531d1dd639c428e8cf05 100644 (file)
@@ -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
index b9221898870a01d88ad97ef80eb14f34440a70ad..0c131745ca35b95f3ecf79d9c4e8fbabee21f3a0 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( 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
index ea9d14622536844a5d2dfabce7a2abded9fc9a60..bc9c4aa4c5d947452d02be9891b33a99cdd2643b 100644 (file)
@@ -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=
 
index a75e5d01ddd9bade22d2b9c8d1f78cc4d477f9d4..24b8199b0ccfea5634cde94b81227ef702c2bdb2 100644 (file)
@@ -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);