[evolution-data-server/meego-eds] Release the reference when the DBUSObject is removed.



commit 8e31695c92604e2f894854df9d71878ec3b0857c
Author: Srinivasa Ragavan <srini linux intel com>
Date:   Thu Jul 28 13:19:36 2011 +0530

    Release the reference when the DBUSObject is removed.

 mail/daemon/e-mail-data-folder.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/mail/daemon/e-mail-data-folder.c b/mail/daemon/e-mail-data-folder.c
index ac4d98f..6457241 100644
--- a/mail/daemon/e-mail-data-folder.c
+++ b/mail/daemon/e-mail-data-folder.c
@@ -58,6 +58,10 @@ e_mail_data_folder_set_property (GObject *object, guint property_id,
 static void
 e_mail_data_folder_dispose (GObject *object)
 {
+  EMailDataFolderPrivate *priv = DATA_FOLDER_PRIVATE(object);
+  
+  g_object_unref (priv->folder);
+
   G_OBJECT_CLASS (e_mail_data_folder_parent_class)->dispose (object);
 }
 



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