We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e8fce6 commit 3b7f834Copy full SHA for 3b7f834
1 file changed
src/dataframe.rs
@@ -66,7 +66,6 @@ unsafe extern "C" fn drop_stream(capsule: *mut ffi::PyObject) {
66
return;
67
}
68
let name = ARROW_STREAM_NAME.get_or_init(|| CString::new("arrow_array_stream").unwrap());
69
- // Retrieve the original stream pointer and free it when the capsule drops
70
let stream_ptr = ffi::PyCapsule_GetPointer(capsule, name.as_ptr()) as *mut FFI_ArrowArrayStream;
71
if !stream_ptr.is_null() {
72
drop(Box::from_raw(stream_ptr));
0 commit comments