Release statusTimer + redirectURL in dealloc. I think it's unlikely either of th…
…ese would ever have leaked, but clang might warn about this.
Showing
1 changed file
with
4 additions
and
1 deletions
| @@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
| 24 | #import "ASIDataCompressor.h" | 24 | #import "ASIDataCompressor.h" |
| 25 | 25 | ||
| 26 | // Automatically set on build | 26 | // Automatically set on build |
| 27 | -NSString *ASIHTTPRequestVersion = @"v1.8-32 2011-01-06"; | 27 | +NSString *ASIHTTPRequestVersion = @"v1.8-33 2011-01-06"; |
| 28 | 28 | ||
| 29 | NSString* const NetworkRequestErrorDomain = @"ASIHTTPRequestErrorDomain"; | 29 | NSString* const NetworkRequestErrorDomain = @"ASIHTTPRequestErrorDomain"; |
| 30 | 30 | ||
| @@ -333,6 +333,9 @@ static NSOperationQueue *sharedQueue = nil; | @@ -333,6 +333,9 @@ static NSOperationQueue *sharedQueue = nil; | ||
| 333 | CFRelease(clientCertificateIdentity); | 333 | CFRelease(clientCertificateIdentity); |
| 334 | } | 334 | } |
| 335 | [self cancelLoad]; | 335 | [self cancelLoad]; |
| 336 | + [redirectURL release]; | ||
| 337 | + [statusTimer invalidate]; | ||
| 338 | + [statusTimer release]; | ||
| 336 | [queue release]; | 339 | [queue release]; |
| 337 | [userInfo release]; | 340 | [userInfo release]; |
| 338 | [postBody release]; | 341 | [postBody release]; |
-
Please register or login to post a comment