mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
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:
parent
d84f889c8d
commit
6825599ba5
3 changed files with 17 additions and 10 deletions
|
@ -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>
|
||||
|
||||
* GormClassEditor.m: Use new ivar to store selected class.
|
||||
|
|
|
@ -918,7 +918,6 @@ static NSImage *fileImage = nil;
|
|||
RELEASE(filePrefsView);
|
||||
|
||||
// release editors...
|
||||
RELEASE(classesView);
|
||||
RELEASE(savedEditors);
|
||||
RELEASE(openEditors);
|
||||
|
||||
|
|
|
@ -129,20 +129,24 @@ static NSColor *darkGreyBlueColor = nil;
|
|||
|
||||
- init
|
||||
{
|
||||
[super init];
|
||||
_actionColumn = nil;
|
||||
_outletColumn = nil;
|
||||
_isEditing = NO;
|
||||
_attributeOffset = 0.0;
|
||||
_edittype = None;
|
||||
_menuItem = nil;
|
||||
[self setDoubleAction: @selector(_handleDoubleClick:)];
|
||||
[self setTarget: self];
|
||||
if((self = [super init]) != nil)
|
||||
{
|
||||
_actionColumn = nil;
|
||||
_outletColumn = nil;
|
||||
_isEditing = NO;
|
||||
_attributeOffset = 0.0;
|
||||
_edittype = None;
|
||||
_menuItem = nil;
|
||||
[self setDoubleAction: @selector(_handleDoubleClick:)];
|
||||
[self setTarget: self];
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void) dealloc
|
||||
{
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (void) collapseItem: (id)item collapseChildren: (BOOL)collapseChildren;
|
||||
|
|
Loading…
Reference in a new issue