advapi32: Fix segfault in OpenService.

This commit is contained in:
Jimmy Rentz 2013-03-15 22:18:44 -04:00 committed by Alexandre Julliard
parent 4ece40f86b
commit c61df08543

View file

@ -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;