Commit c61df085 authored by Jimmy Rentz's avatar Jimmy Rentz Committed by Alexandre Julliard

advapi32: Fix segfault in OpenService.

parent 4ece40f8
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment