diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-04-25 00:40:36 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-04-25 00:40:36 -0700 |
commit | 74ace9e4c7fa2c0ffcdcbf39092736c812fe4db8 (patch) | |
tree | e751c053ea008450a0ee521938d1ed8e64b4b397 /src/core | |
parent | 7551fa6149194407939195401acc0520b5740e36 (diff) | |
parent | ca9d0c0e2de64e4ff798a67aa6eac5725289358e (diff) |
Merge branch 'one-pass' of github.com:ctiller/grpc into one-pass
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/surface/call.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c index a65bfb8903..8f1dfa75b8 100644 --- a/src/core/surface/call.c +++ b/src/core/surface/call.c @@ -343,12 +343,12 @@ static void destroy_call(void *call, int ignored_success) { for (i = 0; i < c->send_initial_metadata_count; i++) { grpc_mdelem_unref(c->send_initial_metadata[i].md); } + grpc_sopb_destroy(&c->send_ops); + grpc_sopb_destroy(&c->recv_ops); if (c->legacy_state) { destroy_legacy_state(c->legacy_state); } grpc_bbq_destroy(&c->incoming_queue); - grpc_sopb_destroy(&c->send_ops); - grpc_sopb_destroy(&c->recv_ops); gpr_slice_buffer_destroy(&c->incoming_message); gpr_free(c); } |