Sven Baars : windowscodecs: Fix a memory leak (Valgrind).
Alexandre Julliard
julliard at winehq.org
Wed Dec 19 16:04:43 CST 2018
Module: wine
Branch: master
Commit: 7a32035fc5701bf7a292848d27d7b6039d36243f
URL: https://source.winehq.org/git/wine.git/?a=commit;h=7a32035fc5701bf7a292848d27d7b6039d36243f
Author: Sven Baars <sven.wine at gmail.com>
Date: Tue Dec 18 20:44:17 2018 +0100
windowscodecs: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/windowscodecs/imgfactory.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/windowscodecs/imgfactory.c b/dlls/windowscodecs/imgfactory.c
index fb235fb..40f3ed5 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;
}
More information about the wine-cvs
mailing list