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:
parent
4467fd6d23
commit
e3a29a6c1d
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue