We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9909c4 commit 45a3d16Copy full SHA for 45a3d16
SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m
@@ -123,6 +123,7 @@ - (UIImage *)decodedImageWithData:(NSData *)data options:(SDImageCoderOptions *)
123
}
124
CGImageRef imageRef = SDCreateCGImageFromAVIF(decoder->image);
125
if (!imageRef) {
126
+ avifDecoderDestroy(decoder);
127
return nil;
128
129
#if SD_MAC
0 commit comments