[PATCH] wincodecs: Grab TIFF decoder reference when creating frames.

Dmitry Timoshkov dmitry at baikal.ru
Mon Nov 12 15:20:12 CST 2018


Nikolay Sivov <nsivov at codeweavers.com> wrote:

> --- a/dlls/windowscodecs/tiffformat.c
> +++ b/dlls/windowscodecs/tiffformat.c
> @@ -766,6 +766,7 @@ static HRESULT WINAPI TiffDecoder_GetFrame(IWICBitmapDecoder *iface,
>              result->IWICMetadataBlockReader_iface.lpVtbl = &TiffFrameDecode_BlockVtbl;
>              result->ref = 1;
>              result->parent = This;
> +            IWICBitmapDecoder_AddRef(iface);

It should be possible to add a test case for this.

-- 
Dmitry.



More information about the wine-devel mailing list