Fixed dealloc laziness in releasing stuff as soon as possible

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15767 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2003-01-30 03:44:51 +00:00
parent 5a0d43a0ab
commit 96a872ad09

View file

@ -98,11 +98,11 @@
- (void) dealloc
{
[[NSNotificationCenter defaultCenter] removeObserver: self];
RELEASE(_windowNibName);
RELEASE(_windowNibPath);
RELEASE(_windowFrameAutosaveName);
RELEASE(_topLevelObjects);
AUTORELEASE (_window); /* FIXME - should be RELEASE I think */
RELEASE (_windowNibName);
RELEASE (_windowNibPath);
RELEASE (_windowFrameAutosaveName);
RELEASE (_topLevelObjects);
RELEASE (_window);
[super dealloc];
}