windowscodecs: Use appropriate helper to release GIF decoder.
Dmitry Timoshkov
dmitry at baikal.ru
Tue Sep 25 20:56:56 CDT 2012
---
dlls/windowscodecs/gifformat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/windowscodecs/gifformat.c b/dlls/windowscodecs/gifformat.c
index 78371b0..4fa10e0 100644
--- a/dlls/windowscodecs/gifformat.c
+++ b/dlls/windowscodecs/gifformat.c
@@ -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);
}
--
1.7.12.1
More information about the wine-patches
mailing list