aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-importer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-importer.c')
-rw-r--r--mail/mail-importer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/mail-importer.c b/mail/mail-importer.c
index dd30807645..500897ea59 100644
--- a/mail/mail-importer.c
+++ b/mail/mail-importer.c
@@ -242,6 +242,7 @@ mail_importer_init (EvolutionShellClient *client)
void
mail_importer_uninit (void)
{
+ CORBA_Environment ev;
GList *l;
for (l = importer_modules; l; l = l->next) {
@@ -250,5 +251,10 @@ mail_importer_uninit (void)
g_list_free (importer_modules);
importer_modules = NULL;
+
+ CORBA_exception_init (&ev);
+ bonobo_object_release_unref (local_storage, &ev);
+ local_storage = NULL;
+ CORBA_exception_free (&ev);
}