mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 19:55:40 +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
|
__ENDTRY
|
||||||
|
|
||||||
if (err != ERROR_SUCCESS)
|
if (err != ERROR_SUCCESS)
|
||||||
handle = 0;
|
*handle = 0;
|
||||||
|
|
||||||
TRACE("returning %p\n", *handle);
|
TRACE("returning %p\n", *handle);
|
||||||
return err;
|
return err;
|
||||||
|
|
Loading…
Reference in a new issue