diff options
author | David Garcia Quintas <dgq@google.com> | 2015-06-02 14:40:07 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2015-06-02 14:40:07 -0700 |
commit | 02c677c6cb68d497ccf7bf90be32b2a238249e62 (patch) | |
tree | 8ea3e674bd29e8b2343bef66a7ccfd514d9708db /src | |
parent | 30bd4eb5cc268c0faa7a7b89f7be0af61598785f (diff) |
Reintroduced grpc_byte_buffer_reader_destroy.
As a no-op for the time being.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/surface/byte_buffer_reader.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/surface/byte_buffer_reader.c b/src/core/surface/byte_buffer_reader.c index 5d97609aaa..41ad700274 100644 --- a/src/core/surface/byte_buffer_reader.c +++ b/src/core/surface/byte_buffer_reader.c @@ -48,6 +48,11 @@ void grpc_byte_buffer_reader_init(grpc_byte_buffer_reader *reader, } } +void grpc_byte_buffer_reader_destroy(grpc_byte_buffer_reader *reader) { + /* no-op: the user is responsible for memory deallocation. + * Other cleanup operations would go here if needed. */ +} + int grpc_byte_buffer_reader_next(grpc_byte_buffer_reader *reader, gpr_slice *slice) { grpc_byte_buffer *buffer = reader->buffer; |