Commit dfd4191d authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

ntdll/tests: Fix a memory leak (Smatch).

parent 1c3b1c3f
...@@ -621,6 +621,8 @@ static void test_query_logicalproc(void) ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment