summaryrefslogtreecommitdiff
path: root/objc_darwin.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-07 19:56:51 -0400
committerPietro Gagliardi <[email protected]>2014-06-07 19:56:51 -0400
commitbc848f5c4078b999dbe6ef1cd90e16290a0d1c3a (patch)
tree7420a4fb1bd45032f9bf8ce36b8a465b1b6be4ff /objc_darwin.m
parent70d7f9fb2a6098c4807e1beb623536ae70a394e3 (diff)
Fixed all the NSAutoreleasePool issues on Mac OS X 10.6.
Diffstat (limited to 'objc_darwin.m')
-rw-r--r--objc_darwin.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/objc_darwin.m b/objc_darwin.m
index 5783244..a5181e8 100644
--- a/objc_darwin.m
+++ b/objc_darwin.m
@@ -30,7 +30,7 @@
// because the only way to make a new NSControl/NSView is with a frame (it gets overridden later)
NSRect dummyRect;
-// this can be called before our NSApp is created, so keep a pool
+// this can be called before our NSApp is created, so keep a pool to keep 10.6 happy
id toNSString(char *str)
{
NSAutoreleasePool *pool;