windowscodecs: Release the icon frame substream on success too.

This commit is contained in:
Vincent Povirk 2011-02-05 13:01:20 -06:00 committed by Alexandre Julliard
parent 8fb709e4ad
commit 29ec595e4a

View File

@ -671,6 +671,8 @@ static HRESULT WINAPI IcoDecoder_GetFrame(IWICBitmapDecoder *iface,
LeaveCriticalSection(&This->lock);
IStream_Release(substream);
return S_OK;
fail: