removeAllocationListener

Removes the listener