Function memalloc::deallocate [] [src]

pub unsafe fn deallocate(ptr: *mut u8, old_size: usize)

Deallocates the memory referenced by ptr.

Behavior is undefined if ptr is null.

The old_size parameter is the size used to create the allocation referenced by ptr, or the new_size passed to the last reallocation.