Release func in _.before and _.once
Merge pull request #1895 from zertosh/fix-once-before-leak

Release func in _.before and _.once