mirror of
https://github.com/fangyidong/json-simple.git
synced 2025-12-08 08:20:53 +03:00
Issue #12: Excessive memory consumption in parse() (contributed by glen.tw)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user