diff options
author | Craig Tiller <ctiller@google.com> | 2016-05-17 08:33:20 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-05-17 08:33:20 -0700 |
commit | cf2cce661d719401f5cc0573ba861d78eae6ffcc (patch) | |
tree | 00be267e6b042ebcce5d77ca8c3176ef0cbce96d /src/core/lib | |
parent | 40945c702ad828bd4d3fee67e17d737e11f896c9 (diff) |
Bug fixes
Diffstat (limited to 'src/core/lib')
-rw-r--r-- | src/core/lib/surface/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lib/surface/server.c b/src/core/lib/surface/server.c index d1fb3fc383..5d2f3ee2f2 100644 --- a/src/core/lib/surface/server.c +++ b/src/core/lib/surface/server.c @@ -372,6 +372,7 @@ static void server_delete(grpc_exec_ctx *exec_ctx, grpc_server *server) { for (i = 0; i < server->cq_count; i++) { request_matcher_destroy(&rm->request_matchers[i]); } + gpr_free(rm->request_matchers); gpr_free(rm->method); gpr_free(rm->host); gpr_free(rm); @@ -381,6 +382,7 @@ static void server_delete(grpc_exec_ctx *exec_ctx, grpc_server *server) { request_matcher_destroy(&server->unregistered_request_matchers[i]); } gpr_stack_lockfree_destroy(server->request_freelist); + gpr_free(server->unregistered_request_matchers); gpr_free(server->cqs); gpr_free(server->pollsets); gpr_free(server->shutdown_tags); |