mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 16:23:37 +00:00
advapi32: Fix segfault in OpenService.
This commit is contained in:
parent
4ece40f86b
commit
c61df08543
|
@ -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