]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/cgroup: drop duplicated free()s
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 17 Feb 2024 07:46:16 +0000 (16:46 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 17 Feb 2024 07:46:19 +0000 (16:46 +0900)
Follow-up for 9cc545447e31ed38d71c00d5957c4dee0b5bce97.

Fixes CID#1534665 and CID#1534666.

src/core/cgroup.c

index 1a079a37b3368fbda447f6648df5f40d27df8756..a32b43059ebb363bee26104c4433ae28623e6a45 100644 (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);