PRINCE: freeSample() fix