mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-21 10:54:31 +08:00
Fix memory leaks in -reset on RKObjectLoader and RKManagedObjectLoader.
This commit is contained in:
@@ -56,6 +56,12 @@
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (void)reset {
|
||||
[super reset];
|
||||
[_response release];
|
||||
_response = nil;
|
||||
}
|
||||
|
||||
#pragma mark - Response Processing
|
||||
|
||||
- (void)finalizeLoad:(BOOL)successful {
|
||||
|
||||
Reference in New Issue
Block a user