Remove redundant checks in check_service

This commit is contained in:
Gunnar Beutner 2015-03-02 13:23:26 +01:00
parent 3087be2567
commit c426655c44

View File

@ -209,7 +209,6 @@ die:
CloseServiceHandle(hSCM); CloseServiceHandle(hSCM);
if (hService) if (hService)
CloseServiceHandle(hService); CloseServiceHandle(hService);
if (lpBuf)
delete [] lpBuf; delete [] lpBuf;
return -1; return -1;