aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-08-24 09:21:32 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-08-24 09:21:32 +0800
commit9e945f485b3dd9456db54f1004eb37b31acbe412 (patch)
treef9588169e487f9eb4d7aad752006862983014b82 /camel
parent0d7ec294af3c3a5920d39a188b9237a21e2cbb30 (diff)
downloadgsoc2013-evolution-9e945f485b3dd9456db54f1004eb37b31acbe412.tar
gsoc2013-evolution-9e945f485b3dd9456db54f1004eb37b31acbe412.tar.gz
gsoc2013-evolution-9e945f485b3dd9456db54f1004eb37b31acbe412.tar.bz2
gsoc2013-evolution-9e945f485b3dd9456db54f1004eb37b31acbe412.tar.lz
gsoc2013-evolution-9e945f485b3dd9456db54f1004eb37b31acbe412.tar.xz
gsoc2013-evolution-9e945f485b3dd9456db54f1004eb37b31acbe412.tar.zst
gsoc2013-evolution-9e945f485b3dd9456db54f1004eb37b31acbe412.zip
And here too.
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. svn path=/trunk/; revision=4996
Diffstat (limited to 'camel')
-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);