NSConcreteData leaked object in objective c ?
Posted
by Madan Mohan
on Stack Overflow
See other posts from Stack Overflow
or by Madan Mohan
Published on 2010-04-14T08:48:32Z
Indexed on
2010/04/14
8:53 UTC
Read the original article
Hit count: 173
Hi Guys,
I am getting the NSConcreteData leaked object while testing the leaks in the instruments.It showing in the parser, - (void)parseXMLFileAtURL:(NSURL *)URL { [urlList release]; urlList = [[NSMutableArray alloc] init];
myParser = [[NSXMLParser alloc] initWithContentsOfURL:URL] ;// it showing this line as leaking
[myParser setDelegate:self];
[myParser setShouldProcessNamespaces:NO];
[myParser setShouldReportNamespacePrefixes:NO];
[myParser setShouldResolveExternalEntities:NO];
[myParser parse];
[myParser release];
}
© Stack Overflow or respective owner