diff options
author | Craig Tiller <ctiller@google.com> | 2017-05-01 14:26:49 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-05-01 14:26:49 -0700 |
commit | c610985aeb3931c53726e742707aa1a8b2fe84b9 (patch) | |
tree | 586cddcd4ed8380f659c681f9c5a4010553cffb0 /src/core/lib/surface | |
parent | b72a74ae039d666cf6cfc60477289c03dc5b5933 (diff) | |
parent | 50da5ec21d3d8be5e76b9809242821f9e5badba1 (diff) |
Merge branch 'hiertune' into epex4+epoll1
Diffstat (limited to 'src/core/lib/surface')
-rw-r--r-- | src/core/lib/surface/byte_buffer_reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/surface/byte_buffer_reader.c b/src/core/lib/surface/byte_buffer_reader.c index 1a6ccdaddb..539b014278 100644 --- a/src/core/lib/surface/byte_buffer_reader.c +++ b/src/core/lib/surface/byte_buffer_reader.c @@ -124,7 +124,7 @@ grpc_slice grpc_byte_buffer_reader_readall(grpc_byte_buffer_reader *reader) { grpc_slice in_slice; size_t bytes_read = 0; const size_t input_size = grpc_byte_buffer_length(reader->buffer_out); - grpc_slice out_slice = grpc_slice_malloc(input_size); + grpc_slice out_slice = GRPC_SLICE_MALLOC(input_size); uint8_t *const outbuf = GRPC_SLICE_START_PTR(out_slice); /* just an alias */ grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; |