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/e-shell-config-offline.c | 1 + 1 file changed, 1 insertion(+) (limited to 'shell/e-shell-config-offline.c') 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