kernel32: Do not forget to cleanup if the test is skipped.

This commit is contained in:
Dmitry Timoshkov 2007-01-10 15:27:47 +08:00 committed by Alexandre Julliard
parent f6702ec4af
commit 13dfa9a711
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}