aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog7
-rw-r--r--camel/providers/mbox/camel-mbox-folder.c3
-rw-r--r--camel/providers/mh/camel-mh-folder.c3
3 files changed, 13 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index b34b9b9d60..a593b52c95 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,10 @@
+2000-08-17 Not Zed <NotZed@HelixCode.com>
+
+ * providers/mh/camel-mh-folder.c (mh_finalize): And here too.
+
+ * providers/mbox/camel-mbox-folder.c (mbox_finalize): Close index
+ on exit.
+
2000-08-23 Dan Winship <danw@helixcode.com>
* camel-mime-utils.c (header_address_list_format_append): put
diff --git a/camel/providers/mbox/camel-mbox-folder.c b/camel/providers/mbox/camel-mbox-folder.c
index d533b675b9..00499c1f75 100644
--- a/camel/providers/mbox/camel-mbox-folder.c
+++ b/camel/providers/mbox/camel-mbox-folder.c
@@ -132,6 +132,9 @@ mbox_finalize(CamelObject * object)
{
CamelMboxFolder *mbox_folder = CAMEL_MBOX_FOLDER(object);
+ if (mbox_folder->index)
+ ibex_close(mbox_folder->index);
+
g_free(mbox_folder->folder_file_path);
g_free(mbox_folder->summary_file_path);
g_free(mbox_folder->folder_dir_path);
diff --git a/camel/providers/mh/camel-mh-folder.c b/camel/providers/mh/camel-mh-folder.c
index eae8ce6b00..3112e2f4f4 100644
--- a/camel/providers/mh/camel-mh-folder.c
+++ b/camel/providers/mh/camel-mh-folder.c
@@ -123,6 +123,9 @@ static void mh_finalize(CamelObject * object)
{
CamelMhFolder *mh_folder = CAMEL_MH_FOLDER(object);
+ if (mh_folder->index)
+ ibex_close(mh_folder->index);
+
g_free(mh_folder->folder_file_path);
g_free(mh_folder->summary_file_path);
g_free(mh_folder->folder_dir_path);