aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-03-15 00:54:03 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-03-15 00:54:03 +0800
commite91297a35db02891cc08e1cae3b7cd522eb0668a (patch)
treef2ba752b27b895449084e86fa91ce3d383f23e5d /calendar
parentc6eed04194069c8dfc3c9c8abb39ca33d6e507a6 (diff)
downloadgsoc2013-evolution-e91297a35db02891cc08e1cae3b7cd522eb0668a.tar.gz
gsoc2013-evolution-e91297a35db02891cc08e1cae3b7cd522eb0668a.tar.zst
gsoc2013-evolution-e91297a35db02891cc08e1cae3b7cd522eb0668a.zip
set_release on the sequence we create.
2003-03-14 Rodrigo Moya <rodrigo@ximian.com> * pcs/cal-factory.c (impl_CalFactory_uriList): set_release on the sequence we create. svn path=/trunk/; revision=20288
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog3
-rw-r--r--calendar/pcs/cal-factory.c1
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);