Hi guys, I'm having a hard time finding out why this is causing a leak, could you have a look and see if I'm missing something please ?
Code:
-(NSDictionary*)getJsonDataObject:(NSString*)string{
SBJsonParser *parser = [[SBJsonParser alloc] init];
NSDictionary *data = [NSDictionary dictionaryWithDictionary:(NSDictionary*)[parser objectWithString:string error:nil]];
[parser release];
return data;
}
Stack Trace:
Leaked Blocks:
The bad line: