aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-ops.c6
2 files changed, 10 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 63ac8b9690..3f498bb439 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-25 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-ops.c (send_mail_free): Don't forget to unref the filter
+ driver here.
+
2001-10-25 <NotZed@Ximian.com>
* folder-browser-ui.c (fbui_sensitize_timeout): So apparently the
@@ -76,7 +81,7 @@
(deadlock possibility). If we're in the thread of the task
we're going to wait for, then return a failure (since we will
deadlock).
- (mail_async_event_emit): Chagned to use MailAsyncFunc type as the
+ (mail_async_event_emit): Changed to use MailAsyncFunc type as the
function type, which just takes 3 void args, change args to suit.
* mail-folder-cache.c (mail_note_store): Record the pending update
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 1693825668..cdfd2f4644 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -419,7 +419,8 @@ extern CamelFolder *sent_folder;
/* send 1 message to a specific transport */
static void
-mail_send_message(CamelMimeMessage *message, const char *destination, CamelFilterDriver *driver, CamelException *ex)
+mail_send_message (CamelMimeMessage *message, const char *destination,
+ CamelFilterDriver *driver, CamelException *ex)
{
CamelMessageInfo *info;
CamelTransport *xport = NULL;
@@ -581,7 +582,8 @@ static void
send_mail_free (struct _mail_msg *mm)
{
struct _send_mail_msg *m = (struct _send_mail_msg *)mm;
-
+
+ camel_object_unref (CAMEL_OBJECT (m->driver));
camel_object_unref (CAMEL_OBJECT (m->message));
g_free (m->destination);
}