Two more memory leaks

This commit is contained in:
Mazyad Alabduljaleel 2015-02-25 10:52:15 +04:00
parent 3e60e0ddf6
commit c80312bea6
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@
self.responseHeader = [httpResponse allHeaderFields];
responseCode = httpResponse.statusCode;
self.statusString = [[NSHTTPURLResponse localizedStringForStatusCode:responseCode] copy];
self.statusString = [NSHTTPURLResponse localizedStringForStatusCode:responseCode];
if(responseCode == 200)
self.statusString = @"OK";
@ -138,7 +138,7 @@
didFailWithError:(NSError *)error
{
//NSLog(@"Load failed with error %@", [error localizedDescription]);
self.responseError = [error copy];
self.responseError = error;
finish = true;
}