From: Zhiyi Zhang zzhang@codeweavers.com
--- dlls/ntdll/unix/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/unix/system.c b/dlls/ntdll/unix/system.c index a6f1382a5fa..5516831a7b7 100644 --- a/dlls/ntdll/unix/system.c +++ b/dlls/ntdll/unix/system.c @@ -874,7 +874,7 @@ static void fill_performance_core_info(void)
for(i = beg; i <= end; i++) { - if (i / 32 > performance_cores_capacity) + if (i / 32 >= performance_cores_capacity) { p = realloc(performance_cores, performance_cores_capacity * 2 * sizeof(ULONG)); if (!p) goto done;