From 13dfa9a7114997cfca429f6fda11f59469f5e678 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Wed, 10 Jan 2007 15:27:47 +0800 Subject: [PATCH] kernel32: Do not forget to cleanup if the test is skipped. --- dlls/kernel32/tests/virtual.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/kernel32/tests/virtual.c b/dlls/kernel32/tests/virtual.c index 767008f6f58..8773765fc94 100644 --- a/dlls/kernel32/tests/virtual.c +++ b/dlls/kernel32/tests/virtual.c @@ -64,6 +64,8 @@ static void test_VirtualAllocEx(void) if (!addr1 && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED) { /* Win9x */ trace("VirtualAllocEx is not implemented, skipping the test\n"); + TerminateProcess(hProcess, 0); + CloseHandle(hProcess); return; } -- 2.11.4.GIT