Dmitry Timoshkov : windowscodecs: Use appropriate helper to release GIF decoder.
Alexandre Julliard
julliard at winehq.org
Wed Sep 26 14:06:49 CDT 2012
Module: wine
Branch: master
Commit: 7fcf7e831cf2927e130ce2683b3c298f43ab5cf4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7fcf7e831cf2927e130ce2683b3c298f43ab5cf4
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Wed Sep 26 10:56:56 2012 +0900
windowscodecs: Use appropriate helper to release GIF decoder.
---
dlls/windowscodecs/gifformat.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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);
}
More information about the wine-cvs
mailing list