aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-09-29 01:05:46 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-09-29 01:05:46 +0800
commit2108192b07b4411c14d216ae0a10b142cea66d8f (patch)
tree5da83a7d06f2a4ccedc06d92cd8be4d156ed0791 /calendar/cal-client
parent0e524f3ed0844843dfd04f6a72c469fd02493457 (diff)
downloadgsoc2013-evolution-2108192b07b4411c14d216ae0a10b142cea66d8f.tar.gz
gsoc2013-evolution-2108192b07b4411c14d216ae0a10b142cea66d8f.tar.zst
gsoc2013-evolution-2108192b07b4411c14d216ae0a10b142cea66d8f.zip
init the execption rather than freeing it
2001-09-28 JP Rosevear <jpr@ximian.com> * cal-client/cal-client.c (cal_client_open_calendar): init the execption rather than freeing it svn path=/trunk/; revision=13215
Diffstat (limited to 'calendar/cal-client')
-rw-r--r--calendar/cal-client/cal-client.c4
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)) {