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

This commit is contained in:
Michael Stefaniuc 2012-09-16 15:12:36 +02:00 committed by Alexandre Julliard
parent 1c3b1c3fec
commit dfd4191de4
1 changed files with 2 additions and 0 deletions

View File

@ -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)