aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-callbacks.c2
2 files changed, 6 insertions, 0 deletions
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 <fejj@ximian.com>
+
+ * mail-callbacks.c (composer_sent_cb): Unref the message.
+
2001-03-18 Jeffrey Stedfast <fejj@ximian.com>
* 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