aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/iomgr/ev_epoll_linux_test.c
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2017-03-01 10:58:13 -0800
committerGravatar Mark D. Roth <roth@google.com>2017-03-01 10:58:13 -0800
commit02612c163e949ed70a399cf9dd311457bb29c902 (patch)
tree7979cb4824a3190203c7c2bbe035bbdfa20bc5ac /test/core/iomgr/ev_epoll_linux_test.c
parent95039b57dc812dff2c0edfd80f6c09179afabc97 (diff)
parentf1666d48244143ddaf463523030ee76cc0fe691c (diff)
Merge remote-tracking branch 'upstream/master' into retry_throttle
Diffstat (limited to 'test/core/iomgr/ev_epoll_linux_test.c')
-rw-r--r--test/core/iomgr/ev_epoll_linux_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/iomgr/ev_epoll_linux_test.c b/test/core/iomgr/ev_epoll_linux_test.c
index 5b05ea3338..4ec959995b 100644
--- a/test/core/iomgr/ev_epoll_linux_test.c
+++ b/test/core/iomgr/ev_epoll_linux_test.c
@@ -104,7 +104,7 @@ static void test_fd_cleanup(grpc_exec_ctx *exec_ctx, test_fd *tfds,
static void test_pollset_init(test_pollset *pollsets, int num_pollsets) {
int i;
for (i = 0; i < num_pollsets; i++) {
- pollsets[i].pollset = gpr_malloc(grpc_pollset_size());
+ pollsets[i].pollset = gpr_zalloc(grpc_pollset_size());
grpc_pollset_init(pollsets[i].pollset, &pollsets[i].mu);
}
}