Vincent Povirk : windowscodecs: Release the icon frame substream on success too.
Module: wine Branch: master Commit: 29ec595e4a2411ab72ccab7bd493f22e753988b6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=29ec595e4a2411ab72ccab7bd4... Author: Vincent Povirk <vincent(a)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:
participants (1)
-
Alexandre Julliard