diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-03-14 23:20:45 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-03-14 23:20:45 +0800 |
commit | 6beace8856e20839752b5faa33c7a2cd26b098cb (patch) | |
tree | ed2f4ca4e9ba0eb339d11def91851986f0cde01e /calendar | |
parent | 5b819c81ff5f75f7e79f174a4f507eef33bd65f0 (diff) | |
download | gsoc2013-evolution-6beace8856e20839752b5faa33c7a2cd26b098cb.tar gsoc2013-evolution-6beace8856e20839752b5faa33c7a2cd26b098cb.tar.gz gsoc2013-evolution-6beace8856e20839752b5faa33c7a2cd26b098cb.tar.bz2 gsoc2013-evolution-6beace8856e20839752b5faa33c7a2cd26b098cb.tar.lz gsoc2013-evolution-6beace8856e20839752b5faa33c7a2cd26b098cb.tar.xz gsoc2013-evolution-6beace8856e20839752b5faa33c7a2cd26b098cb.tar.zst gsoc2013-evolution-6beace8856e20839752b5faa33c7a2cd26b098cb.zip |
don't leak the string sequence returned by CalFactory_uriList.
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.
svn path=/trunk/; revision=20285
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/cal-client/cal-client.c | 4 |
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); } |