[evolution-data-server] EDataBookView: Unreference the EGdbusBookView in dispose().



commit 74d5c5158c1b3d0d13889de587e66b5a36b789e7
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Mar 26 13:44:30 2013 -0400

    EDataBookView: Unreference the EGdbusBookView in dispose().
    
    Recent reference counting fixes uncovered this.  We must have been
    leaking EDataBookView references for this to not have been an issue
    until now.

 addressbook/libedata-book/e-data-book-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libedata-book/e-data-book-view.c b/addressbook/libedata-book/e-data-book-view.c
index d6ca6f3..2e6d1c8 100644
--- a/addressbook/libedata-book/e-data-book-view.c
+++ b/addressbook/libedata-book/e-data-book-view.c
@@ -465,6 +465,7 @@ data_book_view_dispose (GObject *object)
        priv = E_DATA_BOOK_VIEW_GET_PRIVATE (object);
 
        g_clear_object (&priv->connection);
+       g_clear_object (&priv->gdbus_object);
        g_clear_object (&priv->backend);
        g_clear_object (&priv->sexp);
 


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