vlc | branch: master | Marvin Scholz <[email protected]> | Thu Nov 3 18:49:41 2016 +0100| [793c499fd6e13debc8c4b6f80dd2c8eb10676abe] | committer: Marvin Scholz
macosx: Release CGColorRef properly ARC only handles Objective C objects so a CGColorRef needs to be released explicitly. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=793c499fd6e13debc8c4b6f80dd2c8eb10676abe --- modules/gui/macosx/VLCFSPanelController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gui/macosx/VLCFSPanelController.m b/modules/gui/macosx/VLCFSPanelController.m index 60ec434..35f149e 100644 --- a/modules/gui/macosx/VLCFSPanelController.m +++ b/modules/gui/macosx/VLCFSPanelController.m @@ -400,6 +400,7 @@ [view.layer setBackgroundColor:color]; [view.layer setCornerRadius:8.0]; [view setAutoresizesSubviews:YES]; + CGColorRelease(color); /* Inject view in view hierarchy */ [self.window setContentView:view]; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
