aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-callbacks.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index f06f514f9e..b78dbef629 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2002-05-20 Ettore Perazzoli <ettore@ximian.com>
+
+ * mail-callbacks.c (composer_sent_cb): Always unref the composer
+ [even when we are destroying it], otherwise we leak it and we get
+ the nasty bug where you can't quit.
+
2002-05-16 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c (ml_tree_value_at): Check for a label tag when
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 7cc1dfbf4d..b1d8174542 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -355,9 +355,9 @@ composer_sent_cb (char *uri, CamelMimeMessage *message, gboolean sent, void *dat
} else {
e_msg_composer_set_enable_autosave (send->composer, TRUE);
gtk_widget_show (GTK_WIDGET (send->composer));
- gtk_object_unref (GTK_OBJECT (send->composer));
}
+ gtk_object_unref (GTK_OBJECT (send->composer));
g_free (send);
camel_object_unref (CAMEL_OBJECT (message));
}