windowscodecs: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6b42be395d
commit
7a32035fc5
|
@ -185,6 +185,7 @@ static HRESULT find_decoder(IStream *pIStream, const GUID *pguidVendor,
|
|||
IWICBitmapDecoder_Release(*decoder);
|
||||
IWICBitmapDecoderInfo_Release(decoderinfo);
|
||||
IUnknown_Release(unkdecoderinfo);
|
||||
IEnumUnknown_Release(enumdecoders);
|
||||
*decoder = NULL;
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue