aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/transport
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-02-03 11:42:37 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-02-03 11:42:37 -0800
commitcefb00e8ebc204f9f661184dc1602b596c7575e7 (patch)
tree7bd92f3fdd59f112feb0c31335a03f044db962c0 /src/core/transport
parentdaceea867002a097e64e869837ac5348ac498bcc (diff)
Fix potential deadlock
Diffstat (limited to 'src/core/transport')
-rw-r--r--src/core/transport/chttp2_transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transport/chttp2_transport.c b/src/core/transport/chttp2_transport.c
index 48a1005833..f560417617 100644
--- a/src/core/transport/chttp2_transport.c
+++ b/src/core/transport/chttp2_transport.c
@@ -957,7 +957,7 @@ static void send_batch(grpc_transport *gt, grpc_stream *gs, grpc_stream_op *ops,
stream_list_join(t, s, WRITABLE);
}
} else {
- grpc_stream_ops_unref_owned_objects(ops, ops_count);
+ grpc_sopb_append(&t->nuke_later_sopb, ops, ops_count);
}
if (is_last && s->outgoing_sopb.nops == 0 && s->read_closed) {
stream_list_join(t, s, PENDING_CALLBACKS);