wangfenjin commented on a change in pull request #1449:
URL: https://github.com/apache/arrow-rs/pull/1449#discussion_r829876618
##########
File path: arrow/src/ffi.rs
##########
@@ -802,6 +810,41 @@ impl ArrowArray {
pub fn into_raw(this: ArrowArray) -> (*const FFI_ArrowArray, *const
FFI_ArrowSchema) {
Review comment:
So should we delete this API, as this no longer a pair with the
try_from_raw() method.
If we leave it here, the only way to avoid memory leak is user use
Arc::from_raw() 2 times by themselves
--
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]