Fixed leaking “tmp” variable
Merge pull request #5 from simong/leaking-tmp-variable

Fixed leaking “tmp” variable