[USP10] Sync with Wine Staging 3.9. CORE-14656
[reactos.git] / dll / win32 / usp10 / bidi.c
index b0df781..0fb03ef 100644 (file)
@@ -998,7 +998,7 @@ static void computeIsolatingRunsSet(unsigned baselevel, WORD *pcls, const WORD *
     Run *runs;
     IsolatedRun *current_isolated;
 
-    if (!(runs = heap_alloc(uCount * sizeof(*runs))))
+    if (!(runs = heap_calloc(uCount, sizeof(*runs))))
         return;
 
     list_init(set);