From e17f52c2110226f97b9d63d212a3e6be203f92ad Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 14 May 2002 04:35:58 +0000 Subject: 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 --- shell/ChangeLog | 8 ++++++++ shell/e-shell-config-offline.c | 1 + 2 files changed, 9 insertions(+) diff --git a/shell/ChangeLog b/shell/ChangeLog index d8486caf54..ce83a680fe 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,11 @@ +2002-05-14 Ettore Perazzoli + + * 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 * e-shell.c (e_shell_go_offline): Pass self to 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; } -- cgit v1.2.3