aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2016-02-02 23:25:59 -0800
committerGravatar yang-g <yangg@google.com>2016-02-02 23:25:59 -0800
commit9632716848deae8b63ab9d982c6a761f5bb7ccab (patch)
tree434c39e35bf3ef1b8048b045fb07895e1a7511e5 /src
parent70fa0da7f128bb2f5d6e4962352a7b2b4279e106 (diff)
remove debug commments
Diffstat (limited to 'src')
-rw-r--r--src/core/security/server_secure_chttp2.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/security/server_secure_chttp2.c b/src/core/security/server_secure_chttp2.c
index aec07e22b2..92daab9bf1 100644
--- a/src/core/security/server_secure_chttp2.c
+++ b/src/core/security/server_secure_chttp2.c
@@ -191,7 +191,6 @@ int grpc_server_add_secure_http2_port(grpc_server *server, const char *addr,
gpr_log(GPR_ERROR,
"Unable to create secure server with credentials of type %s.",
creds->type);
- // UNREF sc
goto error;
}
sc->channel_args = grpc_server_get_channel_args(server);
@@ -199,7 +198,6 @@ int grpc_server_add_secure_http2_port(grpc_server *server, const char *addr,
/* resolve address */
resolved = grpc_blocking_resolve_address(addr, "https");
if (!resolved) {
- // UNREF sc
goto error;
}
state = gpr_malloc(sizeof(*state));
@@ -207,9 +205,6 @@ int grpc_server_add_secure_http2_port(grpc_server *server, const char *addr,
grpc_closure_init(&state->destroy_closure, destroy_done, state);
tcp = grpc_tcp_server_create(&state->destroy_closure);
if (!tcp) {
- // UNREF sc
- // destroy resolved
- // free state
goto error;
}
@@ -217,7 +212,6 @@ int grpc_server_add_secure_http2_port(grpc_server *server, const char *addr,
state->tcp = tcp;
state->sc = sc;
state->creds = grpc_server_credentials_ref(creds);
-
state->is_shutdown = 0;
gpr_mu_init(&state->mu);
gpr_ref_init(&state->refcount, 1);
@@ -238,7 +232,6 @@ int grpc_server_add_secure_http2_port(grpc_server *server, const char *addr,
if (count == 0) {
gpr_log(GPR_ERROR, "No address added out of total %d resolved",
resolved->naddrs);
- // UNREF tcp
goto error;
}
if (count != resolved->naddrs) {