My favorites | Sign in
Project Home
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 80: Memory leak in XMLStringWithOptions
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Jun 2010


 
Reported by goo...@vocaro.com, Jun 28, 2010
In CXMLNode.m, XMLStringWithOptions has a memory leak. It allocates but never releases theData. There should be a call to [theData release] before the return statement.
Jun 29, 2010
Project Member #1 jwight
static int MyXmlOutputCloseCallback(void * context)
{
NSMutableData *theData = context;
[theData release];
return(0);
}

The data is closed when the buffer object is closed (via xmlOutputBufferClose)
Status: Invalid
Labels: TouchXML

Powered by Google Project Hosting