Differences From Artifact [ad751773f4]:
- File src/OFHTTPRequest.m — part of check-in [fb064dae9a] at 2012-09-26 20:11:36 on branch trunk — Don't assume length == 0 means closed. (user: js, size: 12816) [annotate] [blame] [check-ins using]
To Artifact [cb00731d28]:
- File
src/OFHTTPRequest.m
— part of check-in
[7a8056d3ed]
at
2012-09-29 10:49:05
on branch trunk
— OFHTTPRequest: Fix too early release.
The result was released before it was passed to the exception. (user: js, size: 12820) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
514 515 516 517 518 519 520 | case 200: case 301: case 302: case 303: case 307: break; default: | | | 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 | case 200: case 301: case 302: case 303: case 307: break; default: [result autorelease]; @throw [OFHTTPRequestFailedException exceptionWithClass: [self class] HTTPRequest: self result: result]; } objc_autoreleasePoolPop(pool); |
︙ | ︙ |