`CGColorSpaceRelease(colorSpace);` may cause this problem
CGColorSpaceRelease(colorSpace);may cause this problem