diff options
-rw-r--r-- | calendar/ChangeLog | 3 | ||||
-rw-r--r-- | calendar/pcs/cal-factory.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 76e64c1613..300b8027a6 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,8 @@ 2003-03-14 Rodrigo Moya <rodrigo@ximian.com> + * pcs/cal-factory.c (impl_CalFactory_uriList): set_release + on the sequence we create. + * cal-client/cal-client.c (cal_client_uri_list): don't leak the string sequence returned by CalFactory_uriList. diff --git a/calendar/pcs/cal-factory.c b/calendar/pcs/cal-factory.c index d9f0f5ad27..48df951544 100644 --- a/calendar/pcs/cal-factory.c +++ b/calendar/pcs/cal-factory.c @@ -559,6 +559,7 @@ impl_CalFactory_uriList (PortableServer_Servant servant, priv = factory->priv; list = GNOME_Evolution_Calendar_StringSeq__alloc (); + CORBA_sequence_set_release (list, TRUE); list->_length = 0; list->_maximum = g_hash_table_size (priv->backends); list->_buffer = CORBA_sequence_CORBA_string_allocbuf (list->_maximum); |