Function Allocator.dispose

Dispose the underlying resource

override void dispose();