Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove calls to CGColorRelease in box shadow impl (#45488)
Summary: Pull Request resolved: #45488 In certain cases where the color fails to parse, this code will throw an exception since the underlying color does not exist and we are trying to free it. We do not actually need to even do this, since we obtain the CGColor from a UIColor. The UIColor will manage the memory of the CGColor in this case so we are fine. Source: https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFMemoryMgmt/Concepts/Ownership.html#//apple_ref/doc/uid/20001148-SW1 Changelog: [Internal] Reviewed By: lenaic Differential Revision: D59819536 fbshipit-source-id: ace4656475e7deecac215acb67cb419141e432ea
- Loading branch information