Dmitry Timoshkov : kernel32:
Do not forget to cleanup if the test is skipped.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jan 10 05:35:47 CST 2007
Module: wine
Branch: master
Commit: 13dfa9a7114997cfca429f6fda11f59469f5e678
URL: http://source.winehq.org/git/wine.git/?a=commit;h=13dfa9a7114997cfca429f6fda11f59469f5e678
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Wed Jan 10 15:27:47 2007 +0800
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;
}
More information about the wine-cvs
mailing list