[PATCH 1/2] dwrite: Use the correct array index.

Huw Davies huw at codeweavers.com
Mon Oct 2 04:26:22 CDT 2017


Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 dlls/dwrite/analyzer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dwrite/analyzer.c b/dlls/dwrite/analyzer.c
index 4424110f6b..6808b468d6 100644
--- a/dlls/dwrite/analyzer.c
+++ b/dlls/dwrite/analyzer.c
@@ -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)
-- 
2.12.0




More information about the wine-patches mailing list