2005-09-04 [paul] 1.9.13cvs81
authorPaul Mangan <paul@claws-mail.org>
Sun, 4 Sep 2005 05:14:19 +0000 (05:14 +0000)
committerPaul Mangan <paul@claws-mail.org>
Sun, 4 Sep 2005 05:14:19 +0000 (05:14 +0000)
* src/compose.c
fix crash in 'line length exceeded' dialogue

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

index a0eab692eafa0f20ef58c05492df0f5ae7420c02..48f5bea80eae76924e9d67a6c258f650c5cce349 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-04 [paul]      1.9.13cvs81
+
+       * src/compose.c
+               fix crash in 'line length exceeded' dialogue
+
 2005-09-02 [paul]      1.9.13cvs80
 
        * src/imap.c
index 00b43a0d51841d0adfcc02370bbcd84bc22b3f9a..c8ac4db82ee856064ac9e4006f1fda848004cf17 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.207.2.61 -r 1.207.2.62 src/folderview.c;  ) > 1.9.13cvs78.patchset
 ( cvs diff -u -r 1.382.2.158 -r 1.382.2.159 src/compose.c;  ) > 1.9.13cvs79.patchset
 ( cvs diff -u -r 1.179.2.65 -r 1.179.2.66 src/imap.c;  ) > 1.9.13cvs80.patchset
+( cvs diff -u -r 1.382.2.159 -r 1.382.2.160 src/compose.c;  ) > 1.9.13cvs81.patchset
index c5f5d8258f13dca47e049b7095b4125e2c44225b..4a4dca718a4d72afd0b2f5a9a726c60496d3ef30 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=13
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=80
+EXTRA_VERSION=81
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 51d50ed2a6933aaa89d88861dda693a3574ac15b..301656f9e10e7830f95d34e04617fe49600cce77 100644 (file)
@@ -3811,10 +3811,8 @@ static gint compose_write_to_file(Compose *compose, FILE *fp, gint action)
                           "\n"
                           "Send it anyway?"), line + 1);
                aval = alertpanel(_("Warning"), msg, GTK_STOCK_OK, GTK_STOCK_CANCEL, NULL);
+               g_free(msg);
                if (aval != G_ALERTDEFAULT) {
-                       g_free(msg);
-                       fclose(fp);
-                       g_free(buf);
                        return -1;
                }
        }