Hi there,

I'm currently trying to fix up the Funambol SyncML plugin for
Thunderbird. Some comments in the bugtracker where a crash of it was
reported [1] already proved extremly helpful!

There's one thing left: It was pointed out, that the result of
GetCalendars (from a calIcalendarManager) has to be freed manually.
I'm not sure how to do this.

calICalendar** calendars;

How can I free the calendars array? Are the calICalendars pointed to
reference counted? Is it suffient to just delete [] the array or do I
have to loop through it deleting every single entry?

Any help is appreciated.

- David

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=537889#c2