dwrite: Properly free mappings in fontfallbackbuilder_Release.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a71888cd43
commit
850b67f28f
|
@ -2305,10 +2305,10 @@ static ULONG WINAPI fontfallbackbuilder_Release(IDWriteFontFallbackBuilder *ifac
|
||||||
IDWriteFontCollection_Release(mapping->collection);
|
IDWriteFontCollection_Release(mapping->collection);
|
||||||
heap_free(mapping->ranges);
|
heap_free(mapping->ranges);
|
||||||
heap_free(mapping->locale);
|
heap_free(mapping->locale);
|
||||||
heap_free(mapping);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
IDWriteFactory5_Release(fallbackbuilder->factory);
|
IDWriteFactory5_Release(fallbackbuilder->factory);
|
||||||
|
heap_free(fallbackbuilder->mappings);
|
||||||
heap_free(fallbackbuilder);
|
heap_free(fallbackbuilder);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue