diff options
author | 2015-02-08 14:38:31 -0800 | |
---|---|---|
committer | 2015-02-08 14:38:31 -0800 | |
commit | 970781bba9982e66c70e012fce1ba08fb8b88da8 (patch) | |
tree | a1b49ebd8b8f22c6bb6b432e62b4050f90e415c0 /src/core/surface/call.c | |
parent | a99bfe5e8ebd4b4b4e509cbd73e37c0a024d1308 (diff) |
Add missing unlock
Diffstat (limited to 'src/core/surface/call.c')
-rw-r--r-- | src/core/surface/call.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c index 0af524cead..6a21c439b2 100644 --- a/src/core/surface/call.c +++ b/src/core/surface/call.c @@ -1116,7 +1116,10 @@ grpc_call_error grpc_call_server_accept_old(grpc_call *call, ls = get_legacy_state(call); err = bind_cq(call, cq); - if (err != GRPC_CALL_OK) return err; + if (err != GRPC_CALL_OK) { + unlock(call); + return err; + } ls->finished_tag = finished_tag; |