From: Yu Watanabe Date: Sat, 17 Feb 2024 07:46:16 +0000 (+0900) Subject: core/cgroup: drop duplicated free()s X-Git-Tag: v256-rc1~828^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7cf5c82da90366a0a7ae22b7e03a2f3692210c9;p=thirdparty%2Fsystemd.git core/cgroup: drop duplicated free()s Follow-up for 9cc545447e31ed38d71c00d5957c4dee0b5bce97. Fixes CID#1534665 and CID#1534666. --- diff --git a/src/core/cgroup.c b/src/core/cgroup.c index 1a079a37b33..a32b43059eb 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -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);