mirror of
https://github.com/gnustep/libs-steptalk.git
synced 2025-02-21 02:31:01 +00:00
Fix space leak when a connection died.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@38150 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2e01989552
commit
78991ff299
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2014-11-02 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Frameworks/StepTalk/STRemoteConversation.m (connectionDidDie:):
|
||||
Fix leak of the proxy and environmentProcess attributes when a
|
||||
connection died.
|
||||
|
||||
2014-11-01 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Frameworks/StepTalk/NSObject+additions.h (-notEqual:, -notSame:):
|
||||
|
|
|
@ -79,7 +79,6 @@
|
|||
[connection invalidate];
|
||||
RELEASE(connection);
|
||||
connection = nil;
|
||||
return;
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
|
@ -134,7 +133,9 @@
|
|||
NSLog(@"Closing conversation (%@) with %@", self, environmentName);
|
||||
}
|
||||
|
||||
RELEASE(proxy);
|
||||
proxy = nil;
|
||||
RELEASE(environmentProcess);
|
||||
environmentProcess = nil;
|
||||
RELEASE(connection);
|
||||
connection = nil;
|
||||
|
|
Loading…
Reference in a new issue