windowscodecs/tests: Fix a leak in tests (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2017-07-23 14:54:35 +03:00 committed by Alexandre Julliard
parent 2e9611bbd0
commit bf3b3312fe
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}