Module: wine Branch: master Commit: 74a2ce4d994f3b9818ece06eac728ce94e81833d URL: http://source.winehq.org/git/wine.git/?a=commit;h=74a2ce4d994f3b9818ece06eac...
Author: Misha Koshelev mk144210@bcm.edu Date: Sun Nov 18 23:36:56 2007 -0600
msi/tests: Close opened service handles.
---
dlls/msi/tests/automation.c | 3 +++ dlls/msi/tests/install.c | 3 +++ 2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/tests/automation.c b/dlls/msi/tests/automation.c index d074d34..2db947e 100644 --- a/dlls/msi/tests/automation.c +++ b/dlls/msi/tests/automation.c @@ -387,6 +387,9 @@ static void check_service_is_installed(void)
res = DeleteService(service); ok(res, "Failed to delete TestService\n"); + + CloseServiceHandle(service); + CloseServiceHandle(scm); }
/* diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c index 3e48233..b8817d9 100644 --- a/dlls/msi/tests/install.c +++ b/dlls/msi/tests/install.c @@ -1265,6 +1265,9 @@ static void check_service_is_installed(void)
res = DeleteService(service); ok(res, "Failed to delete TestService\n"); + + CloseServiceHandle(service); + CloseServiceHandle(scm); }
static void test_MsiInstallProduct(void)