diff options
author | 2015-01-30 09:44:31 -0800 | |
---|---|---|
committer | 2015-01-30 09:44:31 -0800 | |
commit | 4df31a60b872445f1bcd527cb00d0e6cba437759 (patch) | |
tree | 8a1c5dd1e13f12db4b42d32953e2b30482692e9d /src/core/surface/server.c | |
parent | 924e1bbe1ed503f5b15397b1ba845adff611d724 (diff) |
Free host, path strings
Diffstat (limited to 'src/core/surface/server.c')
-rw-r--r-- | src/core/surface/server.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/surface/server.c b/src/core/surface/server.c index b71c57d9bb..7fe50ee9bb 100644 --- a/src/core/surface/server.c +++ b/src/core/surface/server.c @@ -411,6 +411,13 @@ static void destroy_call_elem(grpc_call_element *elem) { } gpr_mu_unlock(&chand->server->mu); + if (calld->host) { + grpc_mdstr_unref(calld->host); + } + if (calld->path) { + grpc_mdstr_unref(calld->path); + } + if (calld->legacy) { gpr_free(calld->legacy->initial_metadata); gpr_free(calld->legacy); |