Fix global leak

A bit curious that the linter didn't catch this.  My test runner fails with it.