Fixed a leak in GormOutlineView.m

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20431 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-12-09 02:06:22 +00:00
parent d84f889c8d
commit 6825599ba5
3 changed files with 17 additions and 10 deletions

View file

@ -1,3 +1,7 @@
2004-12-08 21:03 Gregory John Casamento <greg_casamento@yahoo.com>
* GormOutlineView.m: Corrected a leak.
2004-12-08 19:52 Gregory John Casamento <greg_casamento@yahoo.com> 2004-12-08 19:52 Gregory John Casamento <greg_casamento@yahoo.com>
* GormClassEditor.m: Use new ivar to store selected class. * GormClassEditor.m: Use new ivar to store selected class.

View file

@ -918,7 +918,6 @@ static NSImage *fileImage = nil;
RELEASE(filePrefsView); RELEASE(filePrefsView);
// release editors... // release editors...
RELEASE(classesView);
RELEASE(savedEditors); RELEASE(savedEditors);
RELEASE(openEditors); RELEASE(openEditors);

View file

@ -129,20 +129,24 @@ static NSColor *darkGreyBlueColor = nil;
- init - init
{ {
[super init]; if((self = [super init]) != nil)
_actionColumn = nil; {
_outletColumn = nil; _actionColumn = nil;
_isEditing = NO; _outletColumn = nil;
_attributeOffset = 0.0; _isEditing = NO;
_edittype = None; _attributeOffset = 0.0;
_menuItem = nil; _edittype = None;
[self setDoubleAction: @selector(_handleDoubleClick:)]; _menuItem = nil;
[self setTarget: self]; [self setDoubleAction: @selector(_handleDoubleClick:)];
[self setTarget: self];
}
return self; return self;
} }
- (void) dealloc - (void) dealloc
{ {
[super dealloc];
} }
- (void) collapseItem: (id)item collapseChildren: (BOOL)collapseChildren; - (void) collapseItem: (id)item collapseChildren: (BOOL)collapseChildren;