summaryrefslogtreecommitdiff
path: root/tikzit
diff options
context:
space:
mode:
authorJohan Paulsson <gonz@badcode.net>2014-03-25 17:37:29 +0000
committerJohan Paulsson <gonz@badcode.net>2014-03-25 17:37:29 +0000
commit32cb63c5115d1eaa1422114861514293ddd74f6d (patch)
tree75100303c5141ce3813dc2ecaa8862505ebd0bce /tikzit
parent4c3a82c9146aa0e147b49b429b49fefb0e785a17 (diff)
trading a crash for a memory leak
Diffstat (limited to 'tikzit')
-rw-r--r--tikzit/src/common/GraphElementProperty.m3
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];
}