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
This commit is contained in:
committed by
Peter Williams
parent
636c68733c
commit
cef950fa63
@ -1,3 +1,8 @@
|
||||
2001-08-07 Peter Williams <peterw@ximian.com>
|
||||
|
||||
* subscribe-dialog.c (fe_destroy): Unref the e_storage since lookup_store
|
||||
gives us a ref.
|
||||
|
||||
2001-08-07 Peter Williams <peterw@ximian.com>
|
||||
|
||||
* subscribe-dialog.c (folder_etree_construct): Move fe_create_root_node
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user