Issue #12: Excessive memory consumption in parse() (contributed by glen.tw)

This commit is contained in:
fangyidong
2012-05-16 13:51:15 +00:00
parent c00dc27433
commit 0353e4c196
2 changed files with 3 additions and 3 deletions

View File

@@ -575,7 +575,7 @@ int getPosition(){
}
case 25: break;
case 4:
{ sb.delete(0, sb.length());yybegin(STRING_BEGIN);
{ sb = null; sb = new StringBuffer(); yybegin(STRING_BEGIN);
}
case 26: break;
case 16: