Overview
Comment: | OFHTTPRequest: Fix too early release.
The result was released before it was passed to the exception. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
7a8056d3edc2a99c1883862f1c4a9da0 |
User & Date: | js on 2012-09-29 10:49:05 |
Other Links: | manifest | tags |
Context
2012-09-29
| ||
10:51 | OFHTTPRequest: Force "Connection: close". check-in: 294346482d user: js tags: trunk | |
10:49 | OFHTTPRequest: Fix too early release. check-in: 7a8056d3ed user: js tags: trunk | |
2012-09-26
| ||
20:11 | Don't assume length == 0 means closed. check-in: fb064dae9a user: js tags: trunk | |
Changes
Modified src/OFHTTPRequest.m from [ad751773f4] to [cb00731d28].
︙ | ︙ | |||
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); |
︙ | ︙ |