https://src.bluestatic.org
/
macgdbp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15797ce
)
Plug a bunch of leaks by implementing -[StackFrame dealloc]
author
Robert Sesek <rsesek@bluestatic.org>
Sat, 18 Dec 2010 17:54:48 +0000
(12:54 -0500)
committer
Robert Sesek <rsesek@bluestatic.org>
Sat, 18 Dec 2010 17:54:48 +0000
(12:54 -0500)
Source/StackFrame.m
patch
|
blob
|
history
diff --git
a/Source/StackFrame.m
b/Source/StackFrame.m
index c7310f494875ec3cd424b5897487005ad62a23ba..74a0e4ed87270b4f7b4a91dcd04df369e650aa50 100644
(file)
--- 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.