aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-12-02 14:34:40 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-12-02 14:34:40 -0800
commit0627af2b4820e3d73b1c894ab9b269ab8e3bd81e (patch)
treebdc886e4d233883d7d08a4c5371816fbe3466013 /src/core/ext
parent4999d0a1bd221e865a36b77fa77eafdf707703c1 (diff)
parentc50ee7aac260bd08942b20f258598995699af1b9 (diff)
Merge branch 'security_handshaker2' of github.com:markdroth/grpc into fixit23
Diffstat (limited to 'src/core/ext')
-rw-r--r--src/core/ext/transport/chttp2/server/chttp2_server.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/ext/transport/chttp2/server/chttp2_server.c b/src/core/ext/transport/chttp2/server/chttp2_server.c
index dc85d1cf5c..7795606e73 100644
--- a/src/core/ext/transport/chttp2/server/chttp2_server.c
+++ b/src/core/ext/transport/chttp2/server/chttp2_server.c
@@ -339,9 +339,8 @@ error:
if (tcp_server) {
grpc_tcp_server_unref(exec_ctx, tcp_server);
} else {
- grpc_channel_args_destroy(state->args);
- grpc_chttp2_server_handshaker_factory_destroy(exec_ctx,
- state->handshaker_factory);
+ grpc_channel_args_destroy(args);
+ grpc_chttp2_server_handshaker_factory_destroy(exec_ctx, handshaker_factory);
gpr_free(state);
}
*port_num = 0;