Sven Baars : windowscodecs: Fix a memory leak (Valgrind).
Module: wine Branch: master Commit: 7a32035fc5701bf7a292848d27d7b6039d36243f URL: https://source.winehq.org/git/wine.git/?a=commit;h=7a32035fc5701bf7a292848d2... Author: Sven Baars <sven.wine(a)gmail.com> Date: Tue Dec 18 20:44:17 2018 +0100 windowscodecs: Fix a memory leak (Valgrind). Signed-off-by: Sven Baars <sven.wine(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)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; }
participants (1)
-
Alexandre Julliard