fix global i variable leak
Merge pull request #66 from sebmck/fix-global-leak

Fix global i variable leak.