From a0085f9d38cc77872810d949988472cecf650492 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 18 Dec 2010 12:54:48 -0500 Subject: [PATCH] Plug a bunch of leaks by implementing -[StackFrame dealloc] --- Source/StackFrame.m | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Source/StackFrame.m b/Source/StackFrame.m index c7310f4..74a0e4e 100644 --- a/Source/StackFrame.m +++ b/Source/StackFrame.m @@ -27,6 +27,15 @@ @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. -- 2.43.5