aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-26 06:04:48 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-26 06:04:48 +0800
commit5fe02094b8afe4210e7e720b5fc62b29d91efb95 (patch)
treec1d16d62b9d0afd6415be960fcafee44ee5f5fd5
parent54433d0888d88f439b5c720677666f635e871ba2 (diff)
downloadgsoc2013-evolution-5fe02094b8afe4210e7e720b5fc62b29d91efb95.tar
gsoc2013-evolution-5fe02094b8afe4210e7e720b5fc62b29d91efb95.tar.gz
gsoc2013-evolution-5fe02094b8afe4210e7e720b5fc62b29d91efb95.tar.bz2
gsoc2013-evolution-5fe02094b8afe4210e7e720b5fc62b29d91efb95.tar.lz
gsoc2013-evolution-5fe02094b8afe4210e7e720b5fc62b29d91efb95.tar.xz
gsoc2013-evolution-5fe02094b8afe4210e7e720b5fc62b29d91efb95.tar.zst
gsoc2013-evolution-5fe02094b8afe4210e7e720b5fc62b29d91efb95.zip
Don't forget to unref the filter driver here.
2001-10-25 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (send_mail_free): Don't forget to unref the filter driver here. svn path=/trunk/; revision=14103
-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);
}