aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-03-15 23:50:25 +0800
committerMilan Crha <mcrha@redhat.com>2013-03-15 23:50:25 +0800
commit19e4b77d1dd2f0dec959fffd4689f7210ed9fd8d (patch)
tree99862a5bc05f5429f6555f3ae41feaf084b7eda3
parent25164faae923aa6c4904e661f1e70978eee1861d (diff)
downloadgsoc2013-evolution-19e4b77d1dd2f0dec959fffd4689f7210ed9fd8d.tar.gz
gsoc2013-evolution-19e4b77d1dd2f0dec959fffd4689f7210ed9fd8d.tar.zst
gsoc2013-evolution-19e4b77d1dd2f0dec959fffd4689f7210ed9fd8d.zip
Do not leak each sent message
Caused by double-reffing the message object.
-rw-r--r--libemail-engine/e-mail-session-utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libemail-engine/e-mail-session-utils.c b/libemail-engine/e-mail-session-utils.c
index 60e5ebaa2f..ce400c4d10 100644
--- a/libemail-engine/e-mail-session-utils.c
+++ b/libemail-engine/e-mail-session-utils.c
@@ -947,7 +947,6 @@ e_mail_session_send_to (EMailSession *session,
context->io_priority = io_priority;
context->from = from;
context->recipients = recipients;
- context->message = g_object_ref (message);
context->info = info;
context->xev = xev;
context->post_to_uris = post_to_uris;