Skip to content

UIImage+AverageColor: Remove extra CFRelease calls

This merge request brings a hot fix for one the most recent crash issue.

Releasing an object that is NULL will cause an exception and make the application crash.

Here we are not responsible for releasing the CGImage, and trying to do so, by calling the CFRelease method was therefore leading to crashing the application.

Merge request reports

Loading