Vincent Povirk : windowscodecs: Release the icon frame substream on success too.
Alexandre Julliard
julliard at winehq.org
Mon Feb 7 16:06:38 CST 2011
Module: wine
Branch: master
Commit: 29ec595e4a2411ab72ccab7bd493f22e753988b6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=29ec595e4a2411ab72ccab7bd493f22e753988b6
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Sat Feb 5 13:01:20 2011 -0600
windowscodecs: Release the icon frame substream on success too.
---
dlls/windowscodecs/icoformat.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/windowscodecs/icoformat.c b/dlls/windowscodecs/icoformat.c
index de6ebe6..b4abac5 100644
--- a/dlls/windowscodecs/icoformat.c
+++ b/dlls/windowscodecs/icoformat.c
@@ -671,6 +671,8 @@ static HRESULT WINAPI IcoDecoder_GetFrame(IWICBitmapDecoder *iface,
LeaveCriticalSection(&This->lock);
+ IStream_Release(substream);
+
return S_OK;
fail:
More information about the wine-cvs
mailing list