aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2015-11-11 01:12:20 -0500
committerMike Frysinger <vapier@chromium.org>2015-11-11 01:12:20 -0500
commitac2a3e466f86b0743c77e1cfc956b1c4504d2794 (patch)
tree8a47c6c74bc4f9f75b1e759f4a1f4090d0bd9ca6 /src/client
parentInstall headers under client/linux/dump_writer_common (diff)
downloadbreakpad-ac2a3e466f86b0743c77e1cfc956b1c4504d2794.tar.xz
Fix file descriptor leaks in linux CrashGenerationServer
R=ted.mielczarek@gmail.com Review URL: https://codereview.chromium.org/1137423004 .
Diffstat (limited to 'src/client')
-rw-r--r--src/client/linux/crash_generation/crash_generation_server.cc3
1 files changed, 3 insertions, 0 deletions
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;
}