aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr/exec_ctx.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-09-22 12:50:03 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-09-22 12:50:03 -0700
commitb8b1a462e5cc2d629be43feed1e8960f40867d6b (patch)
treefc28c2a279ca341a0688d79c75a37983ff9bbff2 /src/core/iomgr/exec_ctx.c
parenta82950e68318a6aab6fe894fa39f7fa616c4647b (diff)
Finish cleanup
Diffstat (limited to 'src/core/iomgr/exec_ctx.c')
-rw-r--r--src/core/iomgr/exec_ctx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/iomgr/exec_ctx.c b/src/core/iomgr/exec_ctx.c
index fe8c48a94b..74aad6cea3 100644
--- a/src/core/iomgr/exec_ctx.c
+++ b/src/core/iomgr/exec_ctx.c
@@ -35,8 +35,8 @@
void grpc_exec_ctx_flush(grpc_exec_ctx *exec_ctx) {
while (!grpc_closure_list_empty(exec_ctx->closure_list)) {
- grpc_closure *c = closure_list->head;
- closure_list->head = closure_list->tail = NULL;
+ grpc_closure *c = exec_ctx->closure_list.head;
+ exec_ctx->closure_list.head = exec_ctx->closure_list.tail = NULL;
while (c != NULL) {
grpc_closure *next = c->next;
c->cb(exec_ctx, c->cb_arg, c->success);