From 8048b5a2c56e6712b757f3b210d4900264486f99 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 10 Sep 2012 11:56:48 +0200 Subject: Bug #683349 - Crash when sending a mail from the Outbox folder --- libemail-engine/mail-ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libemail-engine') diff --git a/libemail-engine/mail-ops.c b/libemail-engine/mail-ops.c index f0632a4776..0f1ca47f07 100644 --- a/libemail-engine/mail-ops.c +++ b/libemail-engine/mail-ops.c @@ -1051,7 +1051,7 @@ mail_send_queue (EMailSession *session, m->queue = g_object_ref (queue); m->transport = g_object_ref (transport); if (G_IS_CANCELLABLE (cancellable)) - m->base.cancellable = cancellable; + m->base.cancellable = g_object_ref (cancellable); m->status = status; m->status_data = status_data; m->done = done; -- cgit v1.2.3