Skip to content

Fix a kind of memory leaks

Choose a tag to compare

@koher koher released this 11 Feb 08:55
19e5264
  • Fixed a kind of memory leaks: CGImage instances created in the data(using:) method internally had been autoreleased by Obj-C frameworks. It may have caused problems when data(using:) was used heavily in a loop without manual autoreleasepool.