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:
parent
b62aa91758
commit
a3b7712263
|
@ -998,7 +998,7 @@ static void computeIsolatingRunsSet(unsigned baselevel, WORD *pcls, const WORD *
|
||||||
Run *runs;
|
Run *runs;
|
||||||
IsolatedRun *current_isolated;
|
IsolatedRun *current_isolated;
|
||||||
|
|
||||||
if (!(runs = heap_alloc(uCount * sizeof(*runs))))
|
if (!(runs = heap_calloc(uCount, sizeof(*runs))))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
list_init(set);
|
list_init(set);
|
||||||
|
|
Loading…
Reference in New Issue