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:
rfm 2014-11-01 11:11:46 +00:00
parent 81b63af3c7
commit 092d48d2f8
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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",