dwrite/tests: Fix object instance leak (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2017-10-16 11:55:39 +03:00 committed by Alexandre Julliard
parent 4467fd6d23
commit e3a29a6c1d
1 changed files with 3 additions and 0 deletions

View File

@ -7924,6 +7924,9 @@ static void test_inmemory_file_loader(void)
IDWriteFontFileStream_Release(stream);
IDWriteFontFace_Release(fontface);
ref = IDWriteInMemoryFontFileLoader_Release(inmemory);
ok(ref == 0, "loader not released, %u.\n", ref);
ref = IDWriteFactory5_Release(factory);
ok(ref == 0, "factory not released, %u\n", ref);
}