aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/mbox
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/providers/mbox
parent0d7ec294af3c3a5920d39a188b9237a21e2cbb30 (diff)
downloadgsoc2013-evolution-9e945f485b3dd9456db54f1004eb37b31acbe412.tar.gz
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/providers/mbox')
-rw-r--r--camel/providers/mbox/camel-mbox-folder.c3
1 files changed, 3 insertions, 0 deletions
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);