diff options
author | 2015-04-21 11:47:45 -0700 | |
---|---|---|
committer | 2015-04-21 11:47:45 -0700 | |
commit | 3b3097fb7a6c598a03b90f44038e6697146dd15d (patch) | |
tree | c97bc0ebf1bed40c064f6af15d6489663537fe4a /src/cpp/util/byte_buffer.cc | |
parent | d9a3425148e8bb64b67ad91167e9c731fa83db55 (diff) |
Remove an extra unref
Diffstat (limited to 'src/cpp/util/byte_buffer.cc')
-rw-r--r-- | src/cpp/util/byte_buffer.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cpp/util/byte_buffer.cc b/src/cpp/util/byte_buffer.cc index f8d8eec065..ac2657472c 100644 --- a/src/cpp/util/byte_buffer.cc +++ b/src/cpp/util/byte_buffer.cc @@ -60,7 +60,6 @@ void ByteBuffer::Dump(std::vector<Slice>* slices) { gpr_slice s; while (grpc_byte_buffer_reader_next(reader, &s)) { slices->push_back(Slice(s, Slice::STEAL_REF)); - gpr_slice_unref(s); } grpc_byte_buffer_reader_destroy(reader); } |