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:
Sven Baars 2018-12-18 20:44:17 +01:00 committed by Alexandre Julliard
parent 6b42be395d
commit 7a32035fc5
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}