[PATCH] windowscodecs: Fix a memory leak (Valgrind).
Sven Baars
sven.wine at gmail.com
Tue Dec 18 13:44:17 CST 2018
Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
dlls/windowscodecs/imgfactory.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/windowscodecs/imgfactory.c b/dlls/windowscodecs/imgfactory.c
index fb235fbbe1..40f3ed52d8 100644
--- a/dlls/windowscodecs/imgfactory.c
+++ b/dlls/windowscodecs/imgfactory.c
@@ -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;
}
--
2.17.1
More information about the wine-devel
mailing list