aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-04-14 21:39:34 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-04-14 21:39:34 -0700
commitc18bfd8ed9b00a34c85e35263a24504a86e3ed22 (patch)
tree31f99999f825bb1cfb7551238cf9d00469915f95 /src
parentad36c54852686bdcfbe2632281fed8ee53f74e04 (diff)
parent3de5aafe1966fc86c3ac1a1f4607b7cf05c72e6e (diff)
Merge branch 'fast-unref' of github.com:ctiller/grpc into fast-unref
Diffstat (limited to 'src')
-rw-r--r--src/core/transport/chttp2/stream_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transport/chttp2/stream_encoder.c b/src/core/transport/chttp2/stream_encoder.c
index 54079177ab..708bb06c7f 100644
--- a/src/core/transport/chttp2/stream_encoder.c
+++ b/src/core/transport/chttp2/stream_encoder.c
@@ -179,7 +179,7 @@ static grpc_mdelem *add_elem(grpc_chttp2_hpack_compressor *c,
gpr_uint32 new_index = c->tail_remote_index + c->table_elems + 1;
gpr_uint32 elem_size = 32 + GPR_SLICE_LENGTH(elem->key->slice) +
GPR_SLICE_LENGTH(elem->value->slice);
- grpc_mdelem *elem_to_unref = (void *)1;
+ grpc_mdelem *elem_to_unref;
/* Reserve space for this element in the remote table: if this overflows
the current table, drop elements until it fits, matching the decompressor