aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/surface
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-11-23 14:21:05 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-11-23 14:21:05 -0800
commit70b32393189fd29ba5805906eab6115ad626f3ce (patch)
tree4943d267429863a674572ccf6414976ed35b5d0f /src/core/lib/surface
parent74fddc2d69179a07cdaba29dfe7c99a5d7a190ea (diff)
Fix memory leaks
Diffstat (limited to 'src/core/lib/surface')
-rw-r--r--src/core/lib/surface/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/surface/server.c b/src/core/lib/surface/server.c
index 927f447815..6de4ff1747 100644
--- a/src/core/lib/surface/server.c
+++ b/src/core/lib/surface/server.c
@@ -1181,6 +1181,7 @@ void grpc_server_setup_transport(grpc_exec_ctx *exec_ctx, grpc_server *s,
crm = &chand->registered_methods[(hash + probes) % slots];
crm->server_registered_method = rm;
crm->flags = rm->flags;
+ crm->has_host = has_host;
crm->host = host;
crm->method = method;
}