msi/tests: Close opened service handles.
This commit is contained in:
parent
fce6f56f93
commit
74a2ce4d99
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue