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