mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
core/cgroup: drop duplicated free()s
Follow-up for 9cc545447e.
Fixes CID#1534665 and CID#1534666.
This commit is contained in:
@@ -5266,9 +5266,6 @@ CGroupRuntime *cgroup_runtime_free(CGroupRuntime *crt) {
|
||||
set_free(crt->ip_bpf_custom_egress);
|
||||
set_free(crt->ip_bpf_custom_egress_installed);
|
||||
|
||||
fdset_free(crt->initial_socket_bind_link_fds);
|
||||
fdset_free(crt->initial_restric_ifaces_link_fds);
|
||||
|
||||
free(crt->cgroup_path);
|
||||
|
||||
return mfree(crt);
|
||||
|
||||
Reference in New Issue
Block a user