Potential leak of an object stored into 'colorS' Call to function 'CGColorSpaceCreateDeviceRGB' returns a Core Foundation object with a +1 retain count object allocated and stored into 'colorS' is not referenced later in this execution path and has a retain count of +1
http://www.cocoachina/ios/20150206/11121.html

    CGColorSpaceRelease(colorS);     CGColorRelease(colo);
Objective-C类型的对象才支持arc,其他类型的对象,创建了就需要释放。
---------------------------------------------------------------------------------




Reference-counted object is used after it is released    对象在被释放之后使用了



更多推荐

Potential leak of an object stored into ‘colorS'