diff --git a/SDWebImage/Core/UIImage+Transform.m b/SDWebImage/Core/UIImage+Transform.m index 7ff7e98a..125d886e 100644 --- a/SDWebImage/Core/UIImage+Transform.m +++ b/SDWebImage/Core/UIImage+Transform.m @@ -605,8 +605,6 @@ static inline CGImageRef _Nullable SDCGImageFromCIImage(CIImage * _Nonnull ciIma [self drawInRect:CGRectMake(0, 0, self.size.width, self.size.height)]; imageRef = SDGraphicsGetImageFromCurrentImageContext().CGImage; SDGraphicsEndImageContext(); - } else { - CGImageRetain(imageRef); } vImage_Buffer effect = {}, scratch = {};