1

下面的 xmlparser 代码显示内存警告,我暂时无法修复任何线索请帮助我

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
4

1 回答 1

3

initwithIstructPageDetails 应该是 initWithIstructPageDetails:helps 因为分析器查看可可命名约定

由于代码看起来不错,这是我眼中唯一的可能性

于 2013-01-31T12:02:59.843 回答