add release implmentation

This commit is contained in:
Gregory John Casamento 2020-05-07 18:53:15 -04:00
parent 13ae5fdb54
commit 3d711b5672
2 changed files with 18 additions and 0 deletions

View file

@ -48,6 +48,16 @@ static Class pathComponentCellClass;
}
}
- (void) dealloc
{
RELEASE(_backgroundColor);
RELEASE(_placeholderAttributedString);
RELEASE(_allowedTypes);
RELEASE(_url);
RELEASE(_pathComponentCells);
[super dealloc];
}
- (void)mouseEntered:(NSEvent *)event
withFrame:(NSRect)frame
inView:(NSView *)view

View file

@ -72,5 +72,13 @@
RELEASE(attrTitle);
}
- (void) dealloc
{
RELEASE(_attributedTitle);
RELEASE(_image);
RELEASE(_url);
[super dealloc];
}
@end