aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-05-14 12:35:58 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-05-14 12:35:58 +0800
commite17f52c2110226f97b9d63d212a3e6be203f92ad (patch)
treef6047518ac1d7c3e18ce2708e8f56f46d7e8e6b0 /shell
parent48ef648a2e06d32439c1e732fbb3dd28fedb0a30 (diff)
downloadgsoc2013-evolution-e17f52c2110226f97b9d63d212a3e6be203f92ad.tar
gsoc2013-evolution-e17f52c2110226f97b9d63d212a3e6be203f92ad.tar.gz
gsoc2013-evolution-e17f52c2110226f97b9d63d212a3e6be203f92ad.tar.bz2
gsoc2013-evolution-e17f52c2110226f97b9d63d212a3e6be203f92ad.tar.lz
gsoc2013-evolution-e17f52c2110226f97b9d63d212a3e6be203f92ad.tar.xz
gsoc2013-evolution-e17f52c2110226f97b9d63d212a3e6be203f92ad.tar.zst
gsoc2013-evolution-e17f52c2110226f97b9d63d212a3e6be203f92ad.zip
Add a missing CORBA_free in the case in which the typecode of the
* 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. svn path=/trunk/; revision=16780
Diffstat (limited to 'shell')
-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;
}