mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-09 03:44:13 +03:00
Removed condition that is always true
This commit is contained in:
parent
7e15c54cad
commit
b1ed311a3a
|
@ -568,9 +568,7 @@ _encoder_add(AvifEncoderObject *self, PyObject *args) {
|
|||
}
|
||||
|
||||
end:
|
||||
if (&rgb) {
|
||||
avifRGBImageFreePixels(&rgb);
|
||||
}
|
||||
avifRGBImageFreePixels(&rgb);
|
||||
if (!self->first_frame) {
|
||||
avifImageDestroy(frame);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user