mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
services: Fix leak of process object in process_terminate.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
989bb04495
commit
c8187d62f8
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue