aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/e-shell-config-offline.c1
2 files changed, 9 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index d8486caf54..ce83a680fe 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,13 @@
2002-05-14 Ettore Perazzoli <ettore@ximian.com>
+ * e-shell-config-offline.c
+ (init_storage_set_view_status_from_config): Add a missing
+ CORBA_free in the case in which the typecode of the
+ /OfflineFolders/Paths key in the ConfigDatabase doesn't match the
+ expected type.
+
+2002-05-14 Ettore Perazzoli <ettore@ximian.com>
+
* e-shell.c (e_shell_go_offline): Pass self to
e_shell_offline_handler_new() instead of the component registry.
diff --git a/shell/e-shell-config-offline.c b/shell/e-shell-config-offline.c
index c021bf5b1a..ec825b9445 100644
--- a/shell/e-shell-config-offline.c
+++ b/shell/e-shell-config-offline.c
@@ -136,6 +136,7 @@ init_storage_set_view_status_from_config (EStorageSetView *storage_set_view,
if (! CORBA_TypeCode_equal (any->_type, TC_CORBA_sequence_CORBA_string, &ev) || BONOBO_EX (&ev)) {
g_warning ("/OfflineFolders/Paths in ConfigDatabase is not the expected type");
+ CORBA_free (any);
CORBA_exception_free (&ev);
return;
}