From cef950fa6365686b0bbaf4d3a2f5d76642e52c1d Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Tue, 7 Aug 2001 23:05:51 +0000 Subject: Unref the e_storage since lookup_store gives us a ref. 2001-08-07 Peter Williams * subscribe-dialog.c (fe_destroy): Unref the e_storage since lookup_store gives us a ref. svn path=/trunk/; revision=11748 --- mail/ChangeLog | 5 +++++ mail/subscribe-dialog.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 9773b8f793..d67632a7b0 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-08-07 Peter Williams + + * subscribe-dialog.c (fe_destroy): Unref the e_storage since lookup_store + gives us a ref. + 2001-08-07 Peter Williams * subscribe-dialog.c (folder_etree_construct): Move fe_create_root_node diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c index da2758298e..c075bbfa00 100644 --- a/mail/subscribe-dialog.c +++ b/mail/subscribe-dialog.c @@ -829,6 +829,7 @@ fe_destroy (GtkObject *obj) g_hash_table_destroy (ftree->subscribe_ops); camel_object_unref (CAMEL_OBJECT (ftree->store)); + bonobo_object_unref (BONOBO_OBJECT (ftree->e_storage)); g_free (ftree->search); } @@ -881,7 +882,7 @@ folder_etree_construct (FolderETree *ftree, ftree->store = store; camel_object_ref (CAMEL_OBJECT (store)); - ftree->e_storage = mail_lookup_storage (store); + ftree->e_storage = mail_lookup_storage (store); /* this gives us a ref */ fe_create_root_node (ftree); -- cgit