diff options
author | Mark D. Roth <roth@google.com> | 2016-12-08 13:59:13 -0800 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-12-08 13:59:13 -0800 |
commit | eed3815e9e51995a74d09ad642fdd7aaab1a33be (patch) | |
tree | a9d8ea4ff60f9c8243ec8a0f22ffe0830e5a884a /src/core/ext/transport | |
parent | 5b850b2194d668292959131635bda17c4f497a06 (diff) |
Pass ownership of grpc_tcp_server_acceptor to connector.
Diffstat (limited to 'src/core/ext/transport')
-rw-r--r-- | src/core/ext/transport/chttp2/server/chttp2_server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ext/transport/chttp2/server/chttp2_server.c b/src/core/ext/transport/chttp2/server/chttp2_server.c index 5763ff5bb9..844330c0d8 100644 --- a/src/core/ext/transport/chttp2/server/chttp2_server.c +++ b/src/core/ext/transport/chttp2/server/chttp2_server.c @@ -166,6 +166,7 @@ static void on_handshake_done(grpc_exec_ctx *exec_ctx, void *arg, gpr_mu_unlock(&connection_state->server_state->mu); grpc_handshake_manager_destroy(exec_ctx, connection_state->handshake_mgr); grpc_tcp_server_unref(exec_ctx, connection_state->server_state->tcp_server); + gpr_free(connection_state->acceptor); gpr_free(connection_state); } |