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:
Wolfgang Lux 2014-11-02 21:49:08 +00:00
parent 2e01989552
commit 78991ff299
2 changed files with 8 additions and 1 deletions

View file

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

View file

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