Function arrow_buffer::alloc::free_aligned
source · pub unsafe fn free_aligned(ptr: NonNull<u8>, size: usize)👎Deprecated: Use Vec
Expand description
Safety
This function is unsafe because undefined behavior can result if the caller does not ensure all of the following:
-
ptr must denote a block of memory currently allocated via this allocator,
-
size must be the same size that was used to allocate that block of memory,