mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
More leak fixups
This commit is contained in:
parent
42fa1bf04a
commit
96bbc05b18
6 changed files with 17 additions and 13 deletions
|
@ -572,9 +572,9 @@ fprintf(stderr, "Registered retain count %d\n", (int)[registered retainCount]);
|
|||
[this->output close];
|
||||
DESTROY(this->input);
|
||||
DESTROY(this->output);
|
||||
DESTROY(this->in);
|
||||
DESTROY(this->out);
|
||||
}
|
||||
DESTROY(this->in);
|
||||
DESTROY(this->out);
|
||||
DESTROY(this->cachedResponse);
|
||||
DESTROY(this->request);
|
||||
#if GS_HAVE_NSURLSESSION
|
||||
|
@ -1769,18 +1769,18 @@ fprintf(stderr, "Registered retain count %d\n", (int)[registered retainCount]);
|
|||
{
|
||||
NSLog(@"%@ HTTP output stream opened", self);
|
||||
}
|
||||
this->in = [[NSString alloc]
|
||||
initWithFormat: @"(%@:%@ <-- %@:%@)",
|
||||
s = [NSString stringWithFormat: @"(%@:%@ <-- %@:%@)",
|
||||
[stream propertyForKey: GSStreamLocalAddressKey],
|
||||
[stream propertyForKey: GSStreamLocalPortKey],
|
||||
[stream propertyForKey: GSStreamRemoteAddressKey],
|
||||
[stream propertyForKey: GSStreamRemotePortKey]];
|
||||
this->out = [[NSString alloc]
|
||||
initWithFormat: @"(%@:%@ --> %@:%@)",
|
||||
ASSIGN(this->in, s);
|
||||
s = [NSString stringWithFormat: @"(%@:%@ --> %@:%@)",
|
||||
[stream propertyForKey: GSStreamLocalAddressKey],
|
||||
[stream propertyForKey: GSStreamLocalPortKey],
|
||||
[stream propertyForKey: GSStreamRemoteAddressKey],
|
||||
[stream propertyForKey: GSStreamRemotePortKey]];
|
||||
ASSIGN(this->out, s);
|
||||
DESTROY(_writeData);
|
||||
DESTROY(_masked);
|
||||
_writeOffset = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue