mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
advapi32: Fix segfault in OpenService.
This commit is contained in:
parent
4ece40f86b
commit
c61df08543
1 changed files with 1 additions and 1 deletions
|
@ -950,7 +950,7 @@ DWORD SERV_OpenServiceW( SC_HANDLE hSCManager, LPCWSTR lpServiceName,
|
|||
__ENDTRY
|
||||
|
||||
if (err != ERROR_SUCCESS)
|
||||
handle = 0;
|
||||
*handle = 0;
|
||||
|
||||
TRACE("returning %p\n", *handle);
|
||||
return err;
|
||||
|
|
Loading…
Reference in a new issue