ntdll/tests: Fix a memory leak (Smatch).
This commit is contained in:
parent
1c3b1c3fec
commit
dfd4191de4
|
@ -621,6 +621,8 @@ static void test_query_logicalproc(void)
|
||||||
if(si.dwNumberOfProcessors <= 32)
|
if(si.dwNumberOfProcessors <= 32)
|
||||||
ok(proc_no == si.dwNumberOfProcessors, "Incorrect number of logical processors: %d, expected %d\n",
|
ok(proc_no == si.dwNumberOfProcessors, "Incorrect number of logical processors: %d, expected %d\n",
|
||||||
proc_no, si.dwNumberOfProcessors);
|
proc_no, si.dwNumberOfProcessors);
|
||||||
|
|
||||||
|
HeapFree(GetProcessHeap(), 0, slpi);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test_query_processor_power_info(void)
|
static void test_query_processor_power_info(void)
|
||||||
|
|
Loading…
Reference in New Issue