Fix a kind of memory leaks
- Fixed a kind of memory leaks:
CGImageinstances created in thedata(using:)method internally had been autoreleased by Obj-C frameworks. It may have caused problems whendata(using:)was used heavily in a loop without manualautoreleasepool.