Commit 793c499f authored by Marvin Scholz's avatar Marvin Scholz
Browse files

macosx: Release CGColorRef properly

ARC only handles Objective C objects so a CGColorRef needs to be
released explicitly.
parent d1606e3a
......@@ -400,6 +400,7 @@
[view.layer setBackgroundColor:color];
[view.layer setCornerRadius:8.0];
[view setAutoresizesSubviews:YES];
/* Inject view in view hierarchy */
[self.window setContentView:view];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment