aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp/util/byte_buffer.cc
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-04-22 15:24:27 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-04-22 15:24:27 -0700
commit6ad62a7204c98e872a078902761d4a77af74a3d2 (patch)
tree25b84d037c3d3f9ff7453d5739108f5fb2c31299 /src/cpp/util/byte_buffer.cc
parentc079c111cb953a8f2671be86bcfb6e77b5805e08 (diff)
parent3fbf7d76e2952376f6bddbc2e1b53af3113e3b10 (diff)
Merge github.com:grpc/grpc into one-pass
Diffstat (limited to 'src/cpp/util/byte_buffer.cc')
-rw-r--r--src/cpp/util/byte_buffer.cc1
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);
}