diff options
author | Craig Tiller <ctiller@google.com> | 2015-07-06 10:22:47 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-07-06 10:25:17 -0700 |
commit | 3f2db5a4a19427d1c33dec5a1c917ab44b1d2d8b (patch) | |
tree | ce9121533ed7932825ab20f9869964e3e13f418e /src/core/transport/chttp2 | |
parent | 775eaec77026ebb879c66f742bf03f99e50b2378 (diff) |
Fix potential double delete
Diffstat (limited to 'src/core/transport/chttp2')
-rw-r--r-- | src/core/transport/chttp2/incoming_metadata.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/transport/chttp2/incoming_metadata.c b/src/core/transport/chttp2/incoming_metadata.c index a4b7174329..68e0912b9c 100644 --- a/src/core/transport/chttp2/incoming_metadata.c +++ b/src/core/transport/chttp2/incoming_metadata.c @@ -124,6 +124,7 @@ void grpc_incoming_metadata_buffer_move_to_referencing_sopb( sopb->ops[i].data.metadata.list.tail = (void *)(delta + (gpr_intptr)sopb->ops[i].data.metadata.list.tail); } + src->count = 0; } void grpc_chttp2_incoming_metadata_buffer_postprocess_sopb_and_begin_live_op( |