diff options
author | 2015-02-05 10:52:53 -0800 | |
---|---|---|
committer | 2015-02-05 10:52:53 -0800 | |
commit | 0a927bfb6367b8b6e399597f8ba632a12c3c5972 (patch) | |
tree | 21bc58ab3353989592f57b9c6c549c8642bb4a2f /src/core/surface/server.c | |
parent | 8aa09c38d785c6b3ed785e4635bfef7f9359a497 (diff) |
Fix memory leak on server channels
Diffstat (limited to 'src/core/surface/server.c')
-rw-r--r-- | src/core/surface/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/surface/server.c b/src/core/surface/server.c index a057694f13..455bd4337f 100644 --- a/src/core/surface/server.c +++ b/src/core/surface/server.c @@ -258,7 +258,6 @@ static void stream_closed(grpc_call_element *elem) { gpr_mu_lock(&chand->server->mu); switch (calld->state) { case ACTIVATED: - grpc_call_stream_closed(elem); break; case PENDING: call_list_remove(chand->server, calld, PENDING_START); @@ -271,6 +270,7 @@ static void stream_closed(grpc_call_element *elem) { break; } gpr_mu_unlock(&chand->server->mu); + grpc_call_stream_closed(elem); } static void read_closed(grpc_call_element *elem) { |