I've changed this bit to make it more explicit that they are freed later.