mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
fix leak of handle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38144 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
81b63af3c7
commit
092d48d2f8
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-11-01 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSHTTPURLHandle.m: Fix leak of handle when starting a new
|
||||
connection after an older one is dropped by the remote end.
|
||||
|
||||
2014-10-30 Sergei Golovin <Golovin.SV@gmail.com>
|
||||
|
||||
* Source/NSURLProtocol.m: Fix memory leak and possible hang on retry
|
||||
|
|
|
@ -1161,6 +1161,7 @@ debugWrite(GSHTTPURLHandle *handle, NSData *data)
|
|||
NSLog(@"%@ %p restart on new connection",
|
||||
NSStringFromSelector(_cmd), self);
|
||||
[self _tryLoadInBackground: u];
|
||||
RELEASE(self);
|
||||
return;
|
||||
}
|
||||
NSLog(@"Failed to write command to socket - %@ %p %s",
|
||||
|
|
Loading…
Reference in a new issue