aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/iomgr/pollset_set_test.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-02-27 15:58:23 -0800
committerGravatar GitHub <noreply@github.com>2017-02-27 15:58:23 -0800
commitcd232f64c634cba1e95b30db5d270114db6b1fc4 (patch)
treec009004932fc91897d8ae36c5183362f3c47af43 /test/core/iomgr/pollset_set_test.c
parent79ccb81b48433df9d56601663851a30de4ea8a6a (diff)
parentb4673fa9ec493deb4b7d2e811654812449f1077e (diff)
Merge pull request #9753 from ctiller/zalloc
Add zalloc, convert a bunch of files to use it
Diffstat (limited to 'test/core/iomgr/pollset_set_test.c')
-rw-r--r--test/core/iomgr/pollset_set_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/iomgr/pollset_set_test.c b/test/core/iomgr/pollset_set_test.c
index e7777acce1..f27e9db8c9 100644
--- a/test/core/iomgr/pollset_set_test.c
+++ b/test/core/iomgr/pollset_set_test.c
@@ -79,7 +79,7 @@ typedef struct test_pollset {
static void init_test_pollsets(test_pollset *pollsets, const int num_pollsets) {
for (int i = 0; i < num_pollsets; i++) {
- pollsets[i].ps = gpr_malloc(grpc_pollset_size());
+ pollsets[i].ps = gpr_zalloc(grpc_pollset_size());
grpc_pollset_init(pollsets[i].ps, &pollsets[i].mu);
}
}