From d33f5f73f8a0f16975dc8028c6a5886dc7c95b17 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Sun, 4 Feb 2001 02:09:44 +0000 Subject: Memory leak fix svn path=/trunk/; revision=7950 --- shell/ChangeLog | 5 +++++ shell/importer/evolution-importer-client.c | 1 + 2 files changed, 6 insertions(+) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 7a7e07e090..e86a426b04 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2001-02-02 Iain Holmes + + * importer/evolution-importer-client.c: + (evolution_importer_client_new_from_id): Free the CORBA_Environment. + 2001-01-30 Iain Holmes * importer/importer.c: (start_import): Added a notice if there is no diff --git a/shell/importer/evolution-importer-client.c b/shell/importer/evolution-importer-client.c index f702dd970c..9b3bc3490f 100644 --- a/shell/importer/evolution-importer-client.c +++ b/shell/importer/evolution-importer-client.c @@ -118,6 +118,7 @@ evolution_importer_client_new_from_id (const char *id) return NULL; } + CORBA_exception_free (&ev); if (objref == CORBA_OBJECT_NIL) { g_warning ("Could not activate component %s", id); return NULL; -- cgit v1.2.3