mirror of https://github.com/axmolengine/axmol.git
Two more memory leaks
This commit is contained in:
parent
3e60e0ddf6
commit
c80312bea6
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue