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:
nico 2003-01-30 03:44:51 +00:00
parent 9f58f4eeac
commit 4767e89f23

View file

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