From 2bff23815086d0952363f6e76e18f90343271710 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Sat, 17 Sep 2016 17:36:38 +0000 Subject: [PATCH] forgot dealloc method. git-svn-id: svn://qnap.local/TwoTerm/trunk@3137 5590a31f-7b70-45f8-8c82-aa3a8e5f4507 --- Views/TextLabel.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Views/TextLabel.m b/Views/TextLabel.m index ed898fa..5b4dcc8 100644 --- a/Views/TextLabel.m +++ b/Views/TextLabel.m @@ -38,6 +38,12 @@ return NO; } +-(void)dealloc { + + [_text release]; + [_color release]; + [super dealloc]; +} - (void)drawRect:(NSRect)dirtyRect { [super drawRect:dirtyRect];