Correct a leak pointed out by jnthn++.