[evolution/gnome-3-6] Do not leak each sent message



commit 7f0361b0b57f90caaa47dd86476123253b051194
Author: Milan Crha <mcrha redhat com>
Date:   Fri Mar 15 16:52:59 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 86c2545..c9100ff 100644
--- a/libemail-engine/e-mail-session-utils.c
+++ b/libemail-engine/e-mail-session-utils.c
@@ -933,7 +933,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]