[PATCH] windowscodecs/tests: Fix a memory leak (Valgrind).
Sven Baars
sven.wine at gmail.com
Sun Aug 18 16:24:32 CDT 2019
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43387
Signed-off-by: Sven Baars <sven.wine at gmail.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 b434648fe5..a955702c82 100644
--- a/dlls/windowscodecs/tests/metadata.c
+++ b/dlls/windowscodecs/tests/metadata.c
@@ -3029,6 +3029,7 @@ static void test_queryreader(void)
ok(hr == E_INVALIDARG, "got %#x\n", hr);
IWICMetadataQueryReader_Release(new_reader);
+ PropVariantClear(&value);
}
else if (value.vt == VT_LPSTR)
ok(!lstrcmpA(U(value).pszVal, test_data[i].str_value), "%u: expected %s, got %s\n",
--
2.17.1
More information about the wine-devel
mailing list