aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/component-factory.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 06db4b33bf..0d1f296a19 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-03-25 Dan Winship <danw@ximian.com>
+
+ * component-factory.c (unref_standard_folders): Fix a bug in this
+ that probably would have been noticed sooner if ETree hadn't always
+ made the mailer crash before you got here. :-)
+
2001-03-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-editor.c (transport_auth_type_changed): Allow the
diff --git a/mail/component-factory.c b/mail/component-factory.c
index c6fb7ec667..d3a88ca197 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -171,7 +171,7 @@ unref_standard_folders (void)
for (i = 0; i < sizeof (standard_folders) / sizeof (standard_folders[0]); i++) {
if (standard_folders[i].folder)
- camel_object_unref (CAMEL_OBJECT (standard_folders[i].folder));
+ camel_object_unref (CAMEL_OBJECT (*standard_folders[i].folder));
}
}