[PATCH] windowscodecs/tests: Fix a memory leak (Valgrind).
Sven Baars
sven.wine at gmail.com
Sun Feb 17 04:16:21 CST 2019
Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
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 1cfa29b4df..7f5ba9bda1 100644
--- a/dlls/windowscodecs/tests/converter.c
+++ b/dlls/windowscodecs/tests/converter.c
@@ -843,6 +843,8 @@ static void check_tiff_format(IStream *stream, const WICPixelFormatGUID *format)
}
else
tag[i].value[0] = -1;
+
+ PropVariantClear(&value);
}
IWICMetadataReader_Release(reader);
--
2.17.1
More information about the wine-devel
mailing list