Commit 74a2ce4d authored by Misha Koshelev's avatar Misha Koshelev Committed by Alexandre Julliard

msi/tests: Close opened service handles.

parent fce6f56f
...@@ -387,6 +387,9 @@ static void check_service_is_installed(void) ...@@ -387,6 +387,9 @@ static void check_service_is_installed(void)
res = DeleteService(service); res = DeleteService(service);
ok(res, "Failed to delete TestService\n"); ok(res, "Failed to delete TestService\n");
CloseServiceHandle(service);
CloseServiceHandle(scm);
} }
/* /*
......
...@@ -1265,6 +1265,9 @@ static void check_service_is_installed(void) ...@@ -1265,6 +1265,9 @@ static void check_service_is_installed(void)
res = DeleteService(service); res = DeleteService(service);
ok(res, "Failed to delete TestService\n"); ok(res, "Failed to delete TestService\n");
CloseServiceHandle(service);
CloseServiceHandle(scm);
} }
static void test_MsiInstallProduct(void) static void test_MsiInstallProduct(void)
......
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