[evolution] EMailParser: Forgot to unref CamelSession



commit 197c8e1274f70c035614cbb54c7926901d1b1db5
Author: Milan Crha <mcrha redhat com>
Date:   Thu Feb 20 20:10:44 2014 +0100

    EMailParser: Forgot to unref CamelSession

 em-format/e-mail-parser.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/em-format/e-mail-parser.c b/em-format/e-mail-parser.c
index ad8e9f8..17d5a81 100644
--- a/em-format/e-mail-parser.c
+++ b/em-format/e-mail-parser.c
@@ -194,6 +194,7 @@ e_mail_parser_finalize (GObject *object)
 
        priv = E_MAIL_PARSER_GET_PRIVATE (object);
 
+       g_clear_object (&priv->session);
        g_mutex_clear (&priv->mutex);
 
        /* Chain up to parent's finalize() method. */


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