aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
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 /mail/mail-ops.c
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
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c6
1 files changed, 4 insertions, 2 deletions
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);
}