add missing delete to sampler destructor