Removing self retain/release

This commit is contained in:
Blake Watters
2010-09-28 10:08:47 -04:00
parent 0acb46b8b5
commit 243d198e88

View File

@@ -86,12 +86,10 @@
}
- (void)send {
[self retain];
[self.request send];
}
- (void)sendSynchronously {
[self retain];
RKResponse* response = [self.request sendSynchronously];
[self loadObjectsFromResponse:response];
}
@@ -227,7 +225,6 @@
}
- (void)loadObjectsFromResponse:(RKResponse*)response {
[self release];
_response = [response retain];
if (NO == [self encounteredErrorWhileProcessingRequest:response] && [response isSuccessful]) {