aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/cal-client/cal-client.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index ea84ebe756..76e64c1613 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-14 Rodrigo Moya <rodrigo@ximian.com>
+
+ * cal-client/cal-client.c (cal_client_uri_list): don't leak the
+ string sequence returned by CalFactory_uriList.
+
2003-03-13 Rodrigo Moya <rodrigo@ximian.com>
* pcs/query-backend.c (query_backend_new): use a weak ref instead
diff --git a/calendar/cal-client/cal-client.c b/calendar/cal-client/cal-client.c
index 371e6c06e0..b5e5daf2cc 100644
--- a/calendar/cal-client/cal-client.c
+++ b/calendar/cal-client/cal-client.c
@@ -1075,8 +1075,10 @@ cal_client_uri_list (CalClient *client, CalMode mode)
uris = NULL;
break;
}
- else
+ else {
uris = g_list_concat (uris, build_uri_list (uri_seq));
+ CORBA_free (uri_seq);
+ }
CORBA_exception_free (&ev);
}