mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
windowscodecs: Release the icon frame substream on success too.
This commit is contained in:
parent
8fb709e4ad
commit
29ec595e4a
@ -671,6 +671,8 @@ static HRESULT WINAPI IcoDecoder_GetFrame(IWICBitmapDecoder *iface,
|
||||
|
||||
LeaveCriticalSection(&This->lock);
|
||||
|
||||
IStream_Release(substream);
|
||||
|
||||
return S_OK;
|
||||
|
||||
fail:
|
||||
|
Loading…
Reference in New Issue
Block a user