Frees the underlying allocation. Only call this if you actually own it.
@override void free() => ptr.free();