aboutsummaryrefslogtreecommitdiffstats
path: root/mail/subscribe-dialog.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-08-08 07:05:51 +0800
committerPeter Williams <peterw@src.gnome.org>2001-08-08 07:05:51 +0800
commitcef950fa6365686b0bbaf4d3a2f5d76642e52c1d (patch)
tree29e838b7fc638b5aea7495aa4c1cfcd484f64e59 /mail/subscribe-dialog.c
parent636c68733c2d284fda9d7b76a877b000ae1da1e3 (diff)
downloadgsoc2013-evolution-cef950fa6365686b0bbaf4d3a2f5d76642e52c1d.tar
gsoc2013-evolution-cef950fa6365686b0bbaf4d3a2f5d76642e52c1d.tar.gz
gsoc2013-evolution-cef950fa6365686b0bbaf4d3a2f5d76642e52c1d.tar.bz2
gsoc2013-evolution-cef950fa6365686b0bbaf4d3a2f5d76642e52c1d.tar.lz
gsoc2013-evolution-cef950fa6365686b0bbaf4d3a2f5d76642e52c1d.tar.xz
gsoc2013-evolution-cef950fa6365686b0bbaf4d3a2f5d76642e52c1d.tar.zst
gsoc2013-evolution-cef950fa6365686b0bbaf4d3a2f5d76642e52c1d.zip
Unref the e_storage since lookup_store gives us a ref.
2001-08-07 Peter Williams <peterw@ximian.com> * subscribe-dialog.c (fe_destroy): Unref the e_storage since lookup_store gives us a ref. svn path=/trunk/; revision=11748
Diffstat (limited to 'mail/subscribe-dialog.c')
-rw-r--r--mail/subscribe-dialog.c3
1 files changed, 2 insertions, 1 deletions
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);