fix LEAK_DEBUG
Merge pull request #30 from baranowb/FIX_LEAK_DEBUG

fix LEAK_DEBUG