fix to global variable leak due to missing declaration
Merge pull request #182 from goodybag/181-leak

fix to global variable leak due to missing declaration