Module: wine Branch: master Commit: bf3b3312fee633fdb9138bfd6884e4849f40aac5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=bf3b3312fee633fdb9138bfd68...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Sun Jul 23 14:54:35 2017 +0300
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
---
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 f0cfc09..e106a08 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); }