Frees the underlaying memory.
Allocator
expectedAllocator
The span must have been allocated using the specified allocator.
You must never use this span (or any other span referencing the same memory) again after calling this method.