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
This commit is contained in:
Jeffrey Stedfast
2001-10-25 22:04:48 +00:00
committed by Jeffrey Stedfast
parent 54433d0888
commit 5fe02094b8
2 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -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);
}