Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: AFNetworking/AFNetworking
...
head fork: AFNetworking/AFNetworking
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Apr 25, 2012
@dismory dismory Fix the duplicated `AFJSONDecode()` calling that cause message sendin…
…g to deallocated `NSError` object
b76b28f
@mattt mattt Merge pull request #316 from dismory/dev
Fix the duplicated `AFJSONDecode()` calling that cause message sending t...
17ee2b4
Showing with 1 addition and 1 deletion.
  1. +1 −1  AFNetworking/AFJSONRequestOperation.m
View
2  AFNetworking/AFJSONRequestOperation.m
@@ -66,7 +66,7 @@ - (void)dealloc {
}
- (id)responseJSON {
- if (!_responseJSON && [self.responseData length] > 0 && [self isFinished]) {
+ if (!_responseJSON && [self.responseData length] > 0 && [self isFinished] && !self.JSONError) {
NSError *error = nil;
if ([self.responseData length] == 0) {

No commit comments for this range

Something went wrong with that request. Please try again.