dwrite: Fix font data array leak on list release (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5eca697aba
commit
c43a3d48af
|
@ -1629,6 +1629,7 @@ static ULONG WINAPI dwritefontlist_Release(IDWriteFontList1 *iface)
|
|||
for (i = 0; i < This->font_count; i++)
|
||||
release_font_data(This->fonts[i]);
|
||||
IDWriteFontFamily1_Release(This->family);
|
||||
heap_free(This->fonts);
|
||||
heap_free(This);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue