Bug 518925 - LirWriter leak with regexp match in debug builds, r=dvander.

This commit is contained in:
Graydon Hoare 2009-09-25 15:45:45 -07:00
parent ee59e42dc3
commit 56a6b95359

View File

@ -3226,6 +3226,9 @@ class RegExpNativeCompiler {
re->flags |= JSREG_NOCOMPILE;
delete lirBufWriter;
}
#ifdef DEBUG
delete sanity_filter;
#endif
#ifdef NJ_VERBOSE
debug_only_stmt( if (js_LogController.lcbits & LC_TMRegexp)
delete lir; )