aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine
diff options
context:
space:
mode:
Diffstat (limited to 'libemail-engine')
-rw-r--r--libemail-engine/mail-ops.c2
1 files changed, 1 insertions, 1 deletions
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;