windowscodecs: Use appropriate helper to release GIF decoder.

This commit is contained in:
Dmitry Timoshkov 2012-09-26 10:56:56 +09:00 committed by Alexandre Julliard
parent 6f4dba586a
commit 7fcf7e831c
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}