windowscodecs/tests: Fix a memory leak (Valgrind).
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43387 Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6ed6d33ec2
commit
4321cd9d7e
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue