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:
Sven Baars 2019-08-18 23:24:32 +02:00 committed by Alexandre Julliard
parent 6ed6d33ec2
commit 4321cd9d7e
1 changed files with 1 additions and 0 deletions

View File

@ -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",