From 206e9d65a486e7f01e9fe32b2ef66bc4b0c22798 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Fri, 13 Jun 2008 23:20:02 +0200 Subject: Override -dealloc in every class. --- MLKThrowException.m | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'MLKThrowException.m') diff --git a/MLKThrowException.m b/MLKThrowException.m index 799db7e..e3f3e0c 100644 --- a/MLKThrowException.m +++ b/MLKThrowException.m @@ -8,8 +8,8 @@ -(MLKThrowException *) initWithCatchTag:(MLKSymbol *)catchTag value:(id)value { - _catchTag = catchTag; - _value = value; + ASSIGN (_catchTag, catchTag); + ASSIGN (_value, value); return self; } @@ -22,4 +22,11 @@ { return _value; } + +-(void) dealloc +{ + RELEASE (_catchTag); + RELEASE (_value); + [super dealloc]; +} @end -- cgit v1.2.3