From b8b1a462e5cc2d629be43feed1e8960f40867d6b Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Tue, 22 Sep 2015 12:50:03 -0700 Subject: Finish cleanup --- src/core/iomgr/exec_ctx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/iomgr/exec_ctx.c') 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); -- cgit v1.2.3