Sven Baars : windowscodecs/tests: Fix a memory leak (Valgrind).
Alexandre Julliard
julliard at winehq.org
Mon Feb 18 15:43:32 CST 2019
Module: wine
Branch: master
Commit: 13eb82922cafff26363b85c1b9b18dd965dffa55
URL: https://source.winehq.org/git/wine.git/?a=commit;h=13eb82922cafff26363b85c1b9b18dd965dffa55
Author: Sven Baars <sven.wine at gmail.com>
Date: Sun Feb 17 11:16:21 2019 +0100
windowscodecs/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/windowscodecs/tests/converter.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/windowscodecs/tests/converter.c b/dlls/windowscodecs/tests/converter.c
index 455c6ae..b99f987 100644
--- a/dlls/windowscodecs/tests/converter.c
+++ b/dlls/windowscodecs/tests/converter.c
@@ -880,6 +880,8 @@ static void check_tiff_format(IStream *stream, const WICPixelFormatGUID *format)
}
else
tag[i].value[0] = -1;
+
+ PropVariantClear(&value);
}
IWICMetadataReader_Release(reader);
More information about the wine-cvs
mailing list