From 637fc55361690fa0c572a61e862b95f3535a75b3 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 19 Mar 2001 05:10:11 +0000 Subject: Unref the message. 2001-03-19 Jeffrey Stedfast * mail-callbacks.c (composer_sent_cb): Unref the message. svn path=/trunk/; revision=8815 --- mail/ChangeLog | 4 ++++ mail/mail-callbacks.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/mail/ChangeLog b/mail/ChangeLog index ce7255fecf..f6216c7198 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,7 @@ +2001-03-19 Jeffrey Stedfast + + * mail-callbacks.c (composer_sent_cb): Unref the message. + 2001-03-18 Jeffrey Stedfast * component-factory.c (unref_standard_folders): unref the standard diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index e39dd4c6eb..e97def949b 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -275,7 +275,9 @@ composer_sent_cb(char *uri, CamelMimeMessage *message, gboolean sent, void *data gtk_widget_show (GTK_WIDGET (send->composer)); gtk_object_unref (GTK_OBJECT (send->composer)); } + g_free (send); + camel_object_unref (CAMEL_OBJECT (message)); } void -- cgit v1.2.3