diff --git a/dlls/advapi32/tests/service.c b/dlls/advapi32/tests/service.c index 491b5114444..4ce8564b206 100644 --- a/dlls/advapi32/tests/service.c +++ b/dlls/advapi32/tests/service.c @@ -427,6 +427,7 @@ static void test_get_displayname(void) if (!svc_handle) { skip("Spooler service doesn't exist\n"); + CloseServiceHandle(scm_handle); return; } CloseServiceHandle(svc_handle);