我在 jsonParser 上有内存泄漏。
这是我的代码
- (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]; }
这是我收到的错误消息,在第 192 行分配并存储到“jsonParser”中的对象的潜在泄漏
请帮忙。