Commit c8187d62 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

services: Fix leak of process object in process_terminate.

parent 989bb044
......@@ -954,6 +954,7 @@ void process_terminate(struct process_entry *process)
service->status.dwProcessId = 0;
service->status.dwCurrentState = SERVICE_STOPPED;
service->process = NULL;
release_process(process);
}
scmdatabase_unlock(db);
}
......
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