windowscodecs: Use appropriate helper to release GIF decoder.
This commit is contained in:
parent
6f4dba586a
commit
7fcf7e831c
|
@ -661,7 +661,7 @@ static ULONG WINAPI GifFrameDecode_Release(IWICBitmapFrameDecode *iface)
|
|||
|
||||
if (ref == 0)
|
||||
{
|
||||
IUnknown_Release((IUnknown*)This->parent);
|
||||
IWICBitmapDecoder_Release(&This->parent->IWICBitmapDecoder_iface);
|
||||
HeapFree(GetProcessHeap(), 0, This);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue