ntdll/tests: Fix a memory leak (Smatch).
Michael Stefaniuc
mstefani at redhat.de
Sun Sep 16 08:12:36 CDT 2012
---
dlls/ntdll/tests/info.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c
index a50f23b..b376d93 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)
--
1.7.6.5
More information about the wine-patches
mailing list