From 7347962acdbc17b0dd7351cba1e6b5b66cfa473b Mon Sep 17 00:00:00 2001 From: David Scott Date: Mon, 8 Mar 2010 11:28:56 +0000 Subject: [PATCH] CA-38105: remove a unix domain socket leak in an error path. Signed-off-by: David Scott --- forking_executioner/child.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/forking_executioner/child.ml b/forking_executioner/child.ml index 1806698..7413b74 100644 --- a/forking_executioner/child.ml +++ b/forking_executioner/child.ml @@ -163,5 +163,6 @@ let run state comms_sock fd_sock fd_sock_path = | e -> debug "Caught unexpected exception: %s" (Printexc.to_string e); write_log (); + Unixext.unlink_safe fd_sock_path; exit 1 -- 2.39.5