From 10efe52513d4155dfbefa2c02af61a929b4e8749 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 2 Aug 2015 18:34:47 -0400 Subject: [PATCH] "Fixed" another crash. --- redo/osxaltest/window.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redo/osxaltest/window.m b/redo/osxaltest/window.m index 114c9ab3..5821b48e 100644 --- a/redo/osxaltest/window.m +++ b/redo/osxaltest/window.m @@ -92,7 +92,7 @@ } constraints = [NSLayoutConstraint constraintsWithVisualFormat:constraint options:0 metrics:nil views:p.views]; [contentView addConstraints:constraints]; - [constraint release]; +//TODO uncomment this and the program tries to access after free [constraint release]; } };