aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-client/cal-client.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-03-14 23:20:45 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-03-14 23:20:45 +0800
commit6beace8856e20839752b5faa33c7a2cd26b098cb (patch)
treeed2f4ca4e9ba0eb339d11def91851986f0cde01e /calendar/cal-client/cal-client.c
parent5b819c81ff5f75f7e79f174a4f507eef33bd65f0 (diff)
downloadgsoc2013-evolution-6beace8856e20839752b5faa33c7a2cd26b098cb.tar.gz
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/cal-client/cal-client.c')
-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 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);
}