Commit bf12d17b authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

gdiplus: Fix IWICBitmapFrameDecode reference leak in decode_frame_wic.

parent 146c2631
...@@ -3930,8 +3930,8 @@ static GpStatus decode_frame_wic(IWICBitmapDecoder *decoder, BOOL force_conversi ...@@ -3930,8 +3930,8 @@ static GpStatus decode_frame_wic(IWICBitmapDecoder *decoder, BOOL force_conversi
} }
palette = get_palette(frame, palette_type); palette = get_palette(frame, palette_type);
IWICBitmapFrameDecode_Release(frame);
} }
IWICBitmapFrameDecode_Release(frame);
} }
if (FAILED(hr) && status == Ok) status = hresult_to_status(hr); if (FAILED(hr) && status == Ok) status = hresult_to_status(hr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment