Sven Baars : advapi32/tests: Remove a superfluous CloseServiceHandle call (Coverity).
Alexandre Julliard
julliard at winehq.org
Mon Oct 7 17:02:16 CDT 2019
Module: wine
Branch: master
Commit: 1f2c17d2bcf0efb5042c4c2aa6a9323a5ffcc22d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1f2c17d2bcf0efb5042c4c2aa6a9323a5ffcc22d
Author: Sven Baars <sven.wine at gmail.com>
Date: Mon Oct 7 18:41:54 2019 +0200
advapi32/tests: Remove a superfluous CloseServiceHandle call (Coverity).
Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/advapi32/tests/service.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/dlls/advapi32/tests/service.c b/dlls/advapi32/tests/service.c
index 83c0a9b257..f91ea185ae 100644
--- a/dlls/advapi32/tests/service.c
+++ b/dlls/advapi32/tests/service.c
@@ -1852,7 +1852,6 @@ static void test_wow64(void)
ret = DeleteFileA("C:\\windows\\sysnative\\winetestsvc.exe");
ok(ret, "Failed to delete file, error %u.\n", GetLastError());
- CloseServiceHandle(service);
CloseServiceHandle(manager);
}
More information about the wine-cvs
mailing list