| Issue 80: | Memory leak in XMLStringWithOptions | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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. |
static int MyXmlOutputCloseCallback(void * context) { NSMutableData *theData = context; [theData release]; return(0); } The data is closed when the buffer object is closed (via xmlOutputBufferClose)Labels: TouchXML