diff options
author | Johan Paulsson <gonz@badcode.net> | 2014-03-25 17:37:29 +0000 |
---|---|---|
committer | Johan Paulsson <gonz@badcode.net> | 2014-03-25 17:37:29 +0000 |
commit | 32cb63c5115d1eaa1422114861514293ddd74f6d (patch) | |
tree | 75100303c5141ce3813dc2ecaa8862505ebd0bce /tikzit | |
parent | 4c3a82c9146aa0e147b49b429b49fefb0e785a17 (diff) |
trading a crash for a memory leak
Diffstat (limited to 'tikzit')
-rw-r--r-- | tikzit/src/common/GraphElementProperty.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tikzit/src/common/GraphElementProperty.m b/tikzit/src/common/GraphElementProperty.m index 3cf6632..1acdc09 100644 --- a/tikzit/src/common/GraphElementProperty.m +++ b/tikzit/src/common/GraphElementProperty.m @@ -66,7 +66,8 @@ - (void) dealloc { [key release]; - [value release]; +// the below line causes a exc_bad_access. Uncommenting it gains a memory leak but at least no crashing. +// [value release]; [super dealloc]; } |