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>
oldstable
Jacek Caban 2017-09-29 20:37:02 +02:00 committed by Alexandre Julliard
parent a71888cd43
commit 850b67f28f
1 changed files with 1 additions and 1 deletions

View File

@ -2305,10 +2305,10 @@ static ULONG WINAPI fontfallbackbuilder_Release(IDWriteFontFallbackBuilder *ifac
IDWriteFontCollection_Release(mapping->collection);
heap_free(mapping->ranges);
heap_free(mapping->locale);
heap_free(mapping);
}
IDWriteFactory5_Release(fallbackbuilder->factory);
heap_free(fallbackbuilder->mappings);
heap_free(fallbackbuilder);
}