From ac2a3e466f86b0743c77e1cfc956b1c4504d2794 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 11 Nov 2015 01:12:20 -0500 Subject: [PATCH] Fix file descriptor leaks in linux CrashGenerationServer R=ted.mielczarek@gmail.com Review URL: https://codereview.chromium.org/1137423004 . --- src/client/linux/crash_generation/crash_generation_server.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/linux/crash_generation/crash_generation_server.cc b/src/client/linux/crash_generation/crash_generation_server.cc index 860e8bc9..1d7d93b9 100644 --- a/src/client/linux/crash_generation/crash_generation_server.cc +++ b/src/client/linux/crash_generation/crash_generation_server.cc @@ -123,6 +123,9 @@ CrashGenerationServer::Stop() void* dummy; pthread_join(thread_, &dummy); + close(control_pipe_in_); + close(control_pipe_out_); + started_ = false; }