usp10: Use heap_calloc() in computeIsolatingRunsSet().

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2018-03-26 14:00:41 +04:30 committed by Alexandre Julliard
parent b62aa91758
commit a3b7712263
1 changed files with 1 additions and 1 deletions

View 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);