Added missing dealloc

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14526 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-09-24 01:22:50 +00:00
parent eecc1e74f7
commit 48cac53701

View file

@ -95,6 +95,16 @@ static Class textFieldCellClass;
return self;
}
- (void) dealloc
{
if (_delegate != nil)
{
[nc removeObserver: _delegate name: nil object: self];
_delegate = nil;
}
[super dealloc];
}
//
// Setting User Access to Text