mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-24 04:46:01 +08:00
autorelease the parser
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
}
|
||||
|
||||
- (id)bodyAsJSON {
|
||||
return [[[RKMappingFormatJSONParser alloc] init] objectFromString:[self bodyAsString]];
|
||||
return [[[[RKMappingFormatJSONParser alloc] init] autorelease] objectFromString:[self bodyAsString]];
|
||||
}
|
||||
|
||||
- (NSString*)failureErrorDescription {
|
||||
|
||||
Reference in New Issue
Block a user