Commit db49dec8 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite/tests: Fix a font instance leak (Valgrind).

parent 8a3f3c08
...@@ -588,6 +588,7 @@ static void test_ConvertFontFaceToLOGFONT(void) ...@@ -588,6 +588,7 @@ static void test_ConvertFontFaceToLOGFONT(void)
hr = IDWriteFont_CreateFontFace(font, &fontface); hr = IDWriteFont_CreateFontFace(font, &fontface);
ok(hr == S_OK, "got 0x%08x\n", hr); ok(hr == S_OK, "got 0x%08x\n", hr);
IDWriteFont_Release(font);
if (0) /* crashes on native */ if (0) /* crashes on native */
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment