Fix leak in expanding function args