Commit 7a32035f authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

windowscodecs: Fix a memory leak (Valgrind).

parent 6b42be39
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment