mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:35:43 +00:00
Return NULL when an error occurs in CreateServiceW
svn path=/trunk/; revision=19543
This commit is contained in:
parent
9e993871db
commit
73cfd07f88
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ CreateServiceW(SC_HANDLE hSCManager,
|
||||||
{
|
{
|
||||||
DPRINT1("ScmrCreateServiceW() failed (Error %lu)\n", dwError);
|
DPRINT1("ScmrCreateServiceW() failed (Error %lu)\n", dwError);
|
||||||
SetLastError(dwError);
|
SetLastError(dwError);
|
||||||
return INVALID_HANDLE_VALUE;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return hService;
|
return hService;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue