[evolution] Bug #683349 - Crash when sending a mail from the Outbox folder



commit 8048b5a2c56e6712b757f3b210d4900264486f99
Author: Milan Crha <mcrha redhat com>
Date:   Mon Sep 10 11:56:48 2012 +0200

    Bug #683349 - Crash when sending a mail from the Outbox folder

 libemail-engine/mail-ops.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libemail-engine/mail-ops.c b/libemail-engine/mail-ops.c
index f0632a4..0f1ca47 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]