Fix leak (and possible race condition).

Also, I meant to remove the 42 in that previous commit...