diff options
author | Craig Tiller <ctiller@google.com> | 2016-03-26 16:01:00 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-03-26 16:01:00 -0700 |
commit | d12bdd11cb9e320fe9be2ab13c43d7c4f27094e0 (patch) | |
tree | a6c2f022c19d079dac6f9f597ba5b0671ed0fbf9 | |
parent | 489b4744bee765e11825f0918c4f75bc9d09f1f1 (diff) |
Fix inadvertent race
-rw-r--r-- | src/core/transport/chttp2_transport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/transport/chttp2_transport.c b/src/core/transport/chttp2_transport.c index d71061452a..227591bf18 100644 --- a/src/core/transport/chttp2_transport.c +++ b/src/core/transport/chttp2_transport.c @@ -1079,6 +1079,7 @@ static void perform_transport_op_locked(grpc_exec_ctx *exec_ctx, GPR_ASSERT(t->post_parsing_op == NULL); t->post_parsing_op = gpr_malloc(sizeof(*op)); memcpy(t->post_parsing_op, op, sizeof(*op)); + return; } grpc_exec_ctx_enqueue(exec_ctx, op->on_consumed, true, NULL); |