I have memory leak on jsonParser.
Here is my code
- (id) objectWithUrl:(NSURL *)url {
SBJsonParser *jsonParser = [SBJsonParser new];
NSString *jsonString = [self stringWithUrl:url];
// Parse the JSON into an Object
return [jsonParser objectWithString:jsonString error:nil]; }
This is the error message I'm getting, potential leak of an object allocated on line 192 and stored into 'jsonParser'
Please help.