mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
Remove redundant checks in check_service
This commit is contained in:
parent
3087be2567
commit
c426655c44
@ -209,8 +209,7 @@ die:
|
|||||||
CloseServiceHandle(hSCM);
|
CloseServiceHandle(hSCM);
|
||||||
if (hService)
|
if (hService)
|
||||||
CloseServiceHandle(hService);
|
CloseServiceHandle(hService);
|
||||||
if (lpBuf)
|
delete [] lpBuf;
|
||||||
delete[] lpBuf;
|
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user