|
From: Chris F. <cd...@fo...> - 2010-08-27 22:19:22
|
On Wed, Aug 25, 2010 at 02:10:03PM -0400, Chris Frey wrote: > On Wed, Aug 25, 2010 at 01:52:12PM -0400, Adenilson Cavalcanti wrote: > > > Perhaps libgcal needs a cleanup function of its own, that the application > > > should call when closing. ?i.e. the sample apps should call libgcal's > > > cleanup function, which then calls xmlCleanupParser(). > > > > Maybe adding a call to it when the gcal_t context is destroyed? > > I think it should be a separate call, because an application might be > finished with libgcal but not finished with libxml2, and needs to have > control over when libxml2 goes away. Hi Adenilson, I believe you're super busy, so I've taken the liberty of creating a forked repo on repo.or.cz to push my changes to. I've added the above cleanup fix, added the examples to the tree, added a final cleanup function (as well as added it to the examples), and added a new gcal_delete_entry_url() call. Please give them a look. Hopefully they are clean enough that you can just pull and release, but if not, let me know what needs fixing. Forked repo: http://repo.or.cz/w/libgcal/libgcal-cdf.git Thanks, - Chris |