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
1 changed files with 2 additions and 0 deletions

View File

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