diff options
author | Sree Kuchibhotla <sreek@google.com> | 2018-07-30 11:42:28 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2018-07-30 11:42:28 -0700 |
commit | c6bcda7daccfcab799560b792f92fa60e8f1052a (patch) | |
tree | 2fccc2f6d82f4b81a65b9f7eaf4e3da70cec5080 /src | |
parent | 9b84d7fe21b969b7e1a3fb444324dd7b250dd768 (diff) | |
parent | 48d05520ac899c10cdbaffe0210adf7657d2b162 (diff) |
Merge branch 'master' into rq-threads
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lib/surface/call.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/surface/call.cc b/src/core/lib/surface/call.cc index 847bb87f7e..dbad5ded4d 100644 --- a/src/core/lib/surface/call.cc +++ b/src/core/lib/surface/call.cc @@ -529,6 +529,7 @@ void grpc_call_internal_unref(grpc_call* c REF_ARG) { static void release_call(void* call, grpc_error* error) { grpc_call* c = static_cast<grpc_call*>(call); grpc_channel* channel = c->channel; + gpr_free(static_cast<void*>(const_cast<char*>(c->final_info.error_string))); grpc_call_combiner_destroy(&c->call_combiner); grpc_channel_update_call_size_estimate(channel, gpr_arena_destroy(c->arena)); GRPC_CHANNEL_INTERNAL_UNREF(channel, "call"); @@ -573,7 +574,6 @@ static void destroy_call(void* call, grpc_error* error) { grpc_call_stack_destroy(CALL_STACK_FROM_CALL(c), &c->final_info, GRPC_CLOSURE_INIT(&c->release_call, release_call, c, grpc_schedule_on_exec_ctx)); - gpr_free(static_cast<void*>(const_cast<char*>(c->final_info.error_string))); } void grpc_call_ref(grpc_call* c) { gpr_ref(&c->ext_ref); } |