fixed missing 'var' keyword.
Merge pull request #1 from tshimogaisho/patch_globalleak

fixed missing 'var' keyword.