Memory leaks in libxml2.2
Posted
by KSH
on Stack Overflow
See other posts from Stack Overflow
or by KSH
Published on 2010-05-24T11:10:46Z
Indexed on
2010/05/25
10:21 UTC
Read the original article
Hit count: 164
I am using libxml2 to parse xml content in my iPhone app. The xml content is downloaded from a server similar to the Apple's own TopSongs sample app. When I check for leaks using the Instruments tool, I see memory leaks being reported on xmlNewParserCtxt, xmlNewInputStream and xmlAllocParserInputBuffer. I have called xmlFreeParserCtxt(context) at applicable places (dealloc).
Am I missing something else ? Is this a known issue to contend with when using libxml2 parsers ?
© Stack Overflow or respective owner