aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/pcs')
-rw-r--r--calendar/pcs/cal-factory.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/calendar/pcs/cal-factory.c b/calendar/pcs/cal-factory.c
index e7a7316193..32786861bd 100644
--- a/calendar/pcs/cal-factory.c
+++ b/calendar/pcs/cal-factory.c
@@ -436,14 +436,12 @@ impl_CalFactory_open (PortableServer_Servant servant,
priv = factory->priv;
/* check URI to see if we support it */
- CORBA_exception_init (&ev2);
uri = gnome_vfs_uri_new_private (str_uri, TRUE, TRUE, TRUE);
if (!uri) {
CORBA_exception_set (ev, CORBA_USER_EXCEPTION,
ex_GNOME_Evolution_Calendar_CalFactory_InvalidURI,
NULL);
- CORBA_exception_free (&ev2);
return;
}
@@ -455,11 +453,8 @@ impl_CalFactory_open (PortableServer_Servant servant,
CORBA_exception_set (ev, CORBA_USER_EXCEPTION,
ex_GNOME_Evolution_Calendar_CalFactory_UnsupportedMethod,
NULL);
- CORBA_exception_free (&ev2);
return;
}
-
- CORBA_exception_free (&ev2);
/* duplicate the listener object */
CORBA_exception_init (&ev2);