intentionally leak this on windows debug builds because the tries to free from a different heap than allocated from (between dlls)
apply patch from mozilla bug 587982 allowing MSVC assertions to be logged in the console instead of as popups