gdiplus: Fix IWICBitmapFrameDecode reference leak in decode_frame_wic.

This commit is contained in:
Piotr Caban 2024-04-17 19:09:07 +02:00 committed by Alexandre Julliard
parent 146c263127
commit bf12d17b48

View file

@ -3930,8 +3930,8 @@ static GpStatus decode_frame_wic(IWICBitmapDecoder *decoder, BOOL force_conversi
}
palette = get_palette(frame, palette_type);
IWICBitmapFrameDecode_Release(frame);
}
IWICBitmapFrameDecode_Release(frame);
}
if (FAILED(hr) && status == Ok) status = hresult_to_status(hr);