Plug a bunch of leaks by implementing -[StackFrame dealloc]
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 18 Dec 2010 17:54:48 +0000 (12:54 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 18 Dec 2010 17:54:48 +0000 (12:54 -0500)
Source/StackFrame.m

index c7310f494875ec3cd424b5897487005ad62a23ba..74a0e4ed87270b4f7b4a91dcd04df369e650aa50 100644 (file)
 @synthesize function = function_;
 @synthesize variables = variables_;
 
+- (void)dealloc
+{
+  self.filename = nil;
+  self.source = nil;
+  self.function = nil;
+  self.variables = nil;
+  [super dealloc];
+}
+
 /**
  * Determines whether or not the given frame was shifted, rather than jumped. Essentially,
  * this checks if it's in the same file/function.