mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-05 05:25:05 +00:00
[test/directwrite] Fix a leak
This commit is contained in:
parent
b159f5c74e
commit
f53befb6a0
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,8 @@ get_dwfontface (const wchar_t *family_name)
|
|||
hr = font->CreateFontFace (&dw_face);
|
||||
g_assert_true (SUCCEEDED (hr));
|
||||
|
||||
font->Release ();
|
||||
|
||||
return dw_face;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue