Hi, I have leaks in the following code :
NSString * string;
- (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)str{
string = [NSString stringWithFormat:@"%@", str];
}
- (void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName
namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName {
NSString * value = [string stringByReplacingOccurrencesOfString:@"\n" withString:@""];
}
But I don't understand what's the prob. Can you help me please? :s