Commit cd746afd authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

dwrite: Use the correct array index.

parent 6ce86247
......@@ -2298,7 +2298,7 @@ static ULONG WINAPI fontfallbackbuilder_Release(IDWriteFontFallbackBuilder *ifac
UINT32 j;
for (j = 0; j < mapping->families_count; j++)
heap_free(mapping->families[i]);
heap_free(mapping->families[j]);
heap_free(mapping->families);
if (mapping->collection)
......
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