Commit ca118989 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

advapi32: Remove redundant NULL check before SERV_free (found by Smatch).

parent b96ac007
......@@ -433,8 +433,7 @@ static BOOL service_handle_start(HANDLE pipe, service_data *service, DWORD count
goto end;
}
if (service->args)
SERV_free(service->args);
SERV_free(service->args);
service->args = args;
args = NULL;
service->thread = CreateThread( NULL, 0, service_thread,
......
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