kernel32: Do not forget to cleanup if the test is skipped
Dmitry Timoshkov
dmitry at codeweavers.com
Wed Jan 10 01:27:47 CST 2007
Hello,
Changelog:
kernel32: Do not forget to cleanup if the test is skipped.
---
dlls/kernel32/tests/virtual.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/tests/virtual.c b/dlls/kernel32/tests/virtual.c
index 767008f..8773765 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;
}
--
1.4.4.4
More information about the wine-patches
mailing list