[PATCH 1/2] windowscodecs/tests: Fix a leak in tests (Valgrind)
Nikolay Sivov
nsivov at codeweavers.com
Sun Jul 23 06:54:35 CDT 2017
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/windowscodecs/tests/metadata.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/windowscodecs/tests/metadata.c b/dlls/windowscodecs/tests/metadata.c
index f0cfc09280..e106a089e7 100644
--- a/dlls/windowscodecs/tests/metadata.c
+++ b/dlls/windowscodecs/tests/metadata.c
@@ -1750,6 +1750,7 @@ static void test_metadata_gif(void)
hr = IWICMetadataQueryReader_GetMetadataByName(queryreader, queryW, &value);
ok(hr == S_OK, "GetMetadataByName(%s) error %#x\n", wine_dbgstr_w(queryW), hr);
ok(value.vt == VT_UNKNOWN, "expected VT_UNKNOWN, got %#x\n", value.vt);
+ PropVariantClear(&value);
IWICMetadataQueryReader_Release(queryreader);
}
--
2.13.2
More information about the wine-patches
mailing list