]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/socket.c
tree-wide: reset the cleaned-up variable in cleanup functions
[thirdparty/systemd.git] / src / core / socket.c
index 5631054cceeea60b489459493d47ccf65d6bb9c8..e9cacfdf3a237a264587c0e0f4f3a64f403b0a03 100644 (file)
@@ -1611,7 +1611,7 @@ static int socket_address_listen_in_cgroup(
         return fd;
 }
 
-DEFINE_TRIVIAL_CLEANUP_FUNC(Socket *, socket_close_fds);
+DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(Socket *, socket_close_fds, NULL);
 
 static int socket_open_fds(Socket *orig_s) {
         _cleanup_(socket_close_fdsp) Socket *s = orig_s;