Lint fixes

Fix a global leak and some semicolons