Fix #99: ignore custom globals in leak detection
Merge pull request #100 from Marsup/ignore-globals

Fix #99: ignore custom globals in leak detection