Fix leak from sampler state values