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

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-02-17 11:16:21 +01:00 committed by Alexandre Julliard
parent 4cbea6a5c2
commit 13eb82922c
1 changed files with 2 additions and 0 deletions

View File

@ -880,6 +880,8 @@ static void check_tiff_format(IStream *stream, const WICPixelFormatGUID *format)
}
else
tag[i].value[0] = -1;
PropVariantClear(&value);
}
IWICMetadataReader_Release(reader);