core/cgroup: drop duplicated free()s

Follow-up for 9cc545447e.

Fixes CID#1534665 and CID#1534666.
This commit is contained in:
Yu Watanabe
2024-02-17 16:46:16 +09:00
parent 67065a7fa1
commit e7cf5c82da

View File

@@ -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);