[evolution] Do not leak each sent message



commit 19e4b77d1dd2f0dec959fffd4689f7210ed9fd8d
Author: Milan Crha <mcrha redhat com>
Date:   Fri Mar 15 16:50:25 2013 +0100

    Do not leak each sent message
    
    Caused by double-reffing the message object.

 libemail-engine/e-mail-session-utils.c |    1 -
 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 60e5eba..ce400c4 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;


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