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