Reranko05 commented on code in PR #50234:
URL: https://github.com/apache/arrow/pull/50234#discussion_r3456327197
##########
ruby/red-arrow/test/test-memory-view.rb:
##########
@@ -431,4 +473,14 @@ def little_endian?
])
end
end
+
+ test("Int32Array with uninitialized rb_memory_view_t") do
+ array = Arrow::Int32Array.new([1, 2, 3, 4, 5])
+ assert_memory_view_release(array)
+ end
+
+ test("Buffer with uninitialized rb_memory_view_t") do
+ buffer = Arrow::Buffer.new("hello")
+ assert_memory_view_release(buffer)
+ end
Review Comment:
Addressed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]