--- NSToolbar.m 2003-07-21 02:57:43.000000000 -0500 +++ NSToolbar.m.new 2003-07-21 03:24:43.000000000 -0500 @@ -52,11 +52,16 @@ @end @implementation GSToolbarView +- (void) dealloc +{ + RELEASE(_toolbar); + + [super dealloc]; +} - (void) setToolbar: (NSToolbar *)toolbar { ASSIGN(_toolbar, toolbar); } - - (NSToolbar *) toolbar { return _toolbar; @@ -182,6 +187,7 @@ - (void) dealloc { DESTROY (_identifier); + DESTROY (_configurationDictionary); if (_delegate != nil) { @@ -242,10 +248,6 @@ - (void) setConfigurationFromDictionary: (NSDictionary *)configDict { - if(!_configurationDictionary) - { - RELEASE(_configurationDictionary); - } ASSIGN(_configurationDictionary, configDict); }