From 05a0341981506392137e5ed820b80192d274c35d Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sun, 13 Aug 2000 04:17:42 +0000 Subject: Lose a reference to the store on purpose. To be fixed later. * mail-ops.c (do_scan_subfolders): Lose a reference to the store on purpose. To be fixed later. svn path=/trunk/; revision=4794 --- mail/ChangeLog | 5 +++++ mail/mail-ops.c | 6 ++++++ 2 files changed, 11 insertions(+) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index f511b633ca..06d75e911c 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-08-13 Dan Winship + + * mail-ops.c (do_scan_subfolders): Lose a reference to the store + on purpose. To be fixed later. + 2000-08-12 Dan Winship * component-factory.c (create_imap_storage): Take the source as a diff --git a/mail/mail-ops.c b/mail/mail-ops.c index db2230ccb5..5043d82d73 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -813,6 +813,12 @@ do_scan_subfolders (gpointer in_data, gpointer op_data, CamelException * ex) } camel_folder_free_subfolder_names (folder, lsub); + + /* FIXME: We intentionally lose a reference to the store here + * for the benefit of the IMAP provider. Undo this when the + * namespace situation is fixed. + */ + camel_object_ref (CAMEL_OBJECT (folder->parent_store)); camel_object_unref (CAMEL_OBJECT (folder)); } -- cgit