The below xmlparser Code shows memory warning, i couldnt fix it for a while any clues please help me
if ([elementName isEqualToString:@"page_details"])
{
IstructPageDetails *objIstructPageDetails = [[IstructPageDetails alloc] initwithIstructPageDetails:attributeDict];
[m_objmuteArrOutput addObject:objIstructPageDetails];
[objIstructPageDetails release];
}
Incorrect decrement of the reference count of an object that is not owned at this point by the caller
initwithIstructPageDetails should be initWithIstructPageDetails:helps because the analyzer looks at the cocoa naming conventions
As the code looks good, that’s the only possibility in my eyes