cgFullImage
is not retained. The CGImage Core Foundation object is deallocated and you are using a deallocated object.
Core Foundation object pointer types like CGImageRef
are not managed by ARC. You should either annotate the instance variable with __attribute__((NSObject))
, or change the type of the instance variable to an Objective-C object pointer type like id
.