advapi32: Remove redundant NULL check before SERV_free (found by Smatch).
This commit is contained in:
parent
b96ac00764
commit
ca118989f4
|
@ -433,8 +433,7 @@ static BOOL service_handle_start(HANDLE pipe, service_data *service, DWORD count
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (service->args)
|
SERV_free(service->args);
|
||||||
SERV_free(service->args);
|
|
||||||
service->args = args;
|
service->args = args;
|
||||||
args = NULL;
|
args = NULL;
|
||||||
service->thread = CreateThread( NULL, 0, service_thread,
|
service->thread = CreateThread( NULL, 0, service_thread,
|
||||||
|
|
Loading…
Reference in New Issue