diff options
Diffstat (limited to 'calendar/cal-client')
-rw-r--r-- | calendar/cal-client/cal-client.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c index 86b3cc8a05..2e82dcbfe0 100644 --- a/calendar/cal-client/cal-client.c +++ b/calendar/cal-client/cal-client.c @@ -755,12 +755,14 @@ cal_client_open_calendar (CalClient *client, const char *str_uri, gboolean only_ priv->uri = g_strdup (str_uri); for (f = priv->factories; f; f = f->next) { - CORBA_exception_free (&ev); + CORBA_exception_init (&ev); GNOME_Evolution_Calendar_CalFactory_open (f->data, str_uri, only_if_exists, corba_listener, &ev); if (!BONOBO_EX (&ev)) break; + + CORBA_exception_free (&ev); } if (BONOBO_EX (&ev)) { |