diff options
Diffstat (limited to 'calendar/pcs/cal.c')
-rw-r--r-- | calendar/pcs/cal.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/calendar/pcs/cal.c b/calendar/pcs/cal.c index cee41fd6d9..f493c4a4fc 100644 --- a/calendar/pcs/cal.c +++ b/calendar/pcs/cal.c @@ -52,7 +52,7 @@ impl_Cal_get_uri (PortableServer_Servant servant, { Cal *cal; CalPrivate *priv; - char *str_uri; + const char *str_uri; CORBA_char *str_uri_copy; cal = CAL (bonobo_object_from_servant (servant)); @@ -532,7 +532,10 @@ cal_construct (Cal *cal, return NULL; } + CORBA_exception_free (&ev); + /* obtain the WombatClient interface */ + CORBA_exception_init (&ev); priv->wombat_client = Bonobo_Unknown_queryInterface ( priv->listener, "IDL:GNOME/Evolution/WombatClient:1.0", @@ -819,6 +822,8 @@ cal_get_password (Cal *cal, const char *prompt, const char *key) return NULL; } + CORBA_exception_free (&ev); + return pwd; } |