Function polars::chunked_array::builder::alloc::free_aligned [−]
pub unsafe fn free_aligned<T>(ptr: NonNull<T>, size: usize) where
T: NativeType,
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,