aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby
diff options
context:
space:
mode:
authorGravatar apolcyn <apolcyn@google.com>2016-12-05 21:05:25 -0800
committerGravatar GitHub <noreply@github.com>2016-12-05 21:05:25 -0800
commitc1e03dbfaf3f9210f7efefea5412d5aae0ef21cd (patch)
tree9e879d4c9d56523ecf7f20c5c087f4d5f910c60a /src/ruby
parent93904c0dc8315dee04af29091e7033ad50797918 (diff)
parent16db6e1c040e67a6c491fbe37409e6a37e61200f (diff)
Merge pull request #8914 from apolcyn/update_ruby_protobuf_to_310
Update ruby protobuf to 310
Diffstat (limited to 'src/ruby')
-rw-r--r--src/ruby/ext/grpc/rb_byte_buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ruby/ext/grpc/rb_byte_buffer.c b/src/ruby/ext/grpc/rb_byte_buffer.c
index 61b7c30315..28c6a0fd3a 100644
--- a/src/ruby/ext/grpc/rb_byte_buffer.c
+++ b/src/ruby/ext/grpc/rb_byte_buffer.c
@@ -65,5 +65,6 @@ VALUE grpc_rb_byte_buffer_to_s(grpc_byte_buffer *buffer) {
GPR_SLICE_LENGTH(next));
gpr_slice_unref(next);
}
+ grpc_byte_buffer_reader_destroy(&reader);
return rb_string;
}