From dfd4191de42bee5e79085ad9cca01056cc3d615d Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Sun, 16 Sep 2012 15:12:36 +0200 Subject: [PATCH] ntdll/tests: Fix a memory leak (Smatch). --- dlls/ntdll/tests/info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c index a50f23be89c..b376d93534a 100644 --- a/dlls/ntdll/tests/info.c +++ b/dlls/ntdll/tests/info.c @@ -621,6 +621,8 @@ static void test_query_logicalproc(void) if(si.dwNumberOfProcessors <= 32) ok(proc_no == si.dwNumberOfProcessors, "Incorrect number of logical processors: %d, expected %d\n", proc_no, si.dwNumberOfProcessors); + + HeapFree(GetProcessHeap(), 0, slpi); } static void test_query_processor_power_info(void)