summaryrefslogtreecommitdiff
path: root/MLKThrowException.m
diff options
context:
space:
mode:
Diffstat (limited to 'MLKThrowException.m')
-rw-r--r--MLKThrowException.m11
1 files changed, 9 insertions, 2 deletions
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