aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/ev_epollex_linux.cc
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2018-02-12 15:22:34 -0800
committerGravatar Sree Kuchibhotla <sreek@google.com>2018-02-12 15:22:34 -0800
commit4fa4937bfad757de73c5732583928d6202adb5fa (patch)
tree6c9d65103116422db9dc72371c093eb064793c5e /src/core/lib/iomgr/ev_epollex_linux.cc
parentfb369d95677b85995071e8255230c8bd7e291216 (diff)
Destroy the pollset mutex created in pollset_init
(Manually backporting the fix by Mike Burrows)
Diffstat (limited to 'src/core/lib/iomgr/ev_epollex_linux.cc')
-rw-r--r--src/core/lib/iomgr/ev_epollex_linux.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/ev_epollex_linux.cc b/src/core/lib/iomgr/ev_epollex_linux.cc
index 30c7a89824..7bccca308f 100644
--- a/src/core/lib/iomgr/ev_epollex_linux.cc
+++ b/src/core/lib/iomgr/ev_epollex_linux.cc
@@ -797,6 +797,7 @@ static grpc_error* pollable_process_events(grpc_pollset* pollset,
static void pollset_destroy(grpc_pollset* pollset) {
POLLABLE_UNREF(pollset->active_pollable, "pollset");
pollset->active_pollable = nullptr;
+ gpr_mu_destroy(&pollset->mu);
}
static grpc_error* pollable_epoll(pollable* p, grpc_millis deadline) {