mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
services: Fix memory leak of some data in the service record.
This commit is contained in:
parent
8aeb2858e4
commit
0b7a37acdc
@ -83,6 +83,8 @@ void free_service_entry(struct service_entry *entry)
|
||||
HeapFree(GetProcessHeap(), 0, entry->config.lpServiceStartName);
|
||||
HeapFree(GetProcessHeap(), 0, entry->config.lpDisplayName);
|
||||
HeapFree(GetProcessHeap(), 0, entry->description);
|
||||
HeapFree(GetProcessHeap(), 0, entry->dependOnServices);
|
||||
HeapFree(GetProcessHeap(), 0, entry->dependOnGroups);
|
||||
CloseHandle(entry->control_mutex);
|
||||
CloseHandle(entry->control_pipe);
|
||||
CloseHandle(entry->status_changed_event);
|
||||
|
Loading…
Reference in New Issue
Block a user