diff options
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 6001e8fd7e..56c6109c85 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -364,7 +364,7 @@ composer_send_queued_cb (CamelFolder *folder, CamelMimeMessage *msg, CamelMessag g_free (ccd->uid); ccd->uid = NULL; } - + gtk_widget_destroy (GTK_WIDGET (send->composer)); if (send->send && camel_session_is_online (session)) { @@ -397,6 +397,7 @@ composer_send_queued_cb (CamelFolder *folder, CamelMimeMessage *msg, CamelMessag if (send->ccd) ccd_unref (send->ccd); + g_object_unref(send->composer); g_free (send); } |