Commit 13dfa9a7 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

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

parent f6702ec4
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment