[fix](jsonreader) release memory of both value and parse allocator (#13513)
This commit is contained in:
@ -354,7 +354,8 @@ Status JsonReader::_parse_json_doc(size_t* size, bool* eof) {
|
||||
}
|
||||
|
||||
// clear memory here.
|
||||
_origin_json_doc.GetAllocator().Clear();
|
||||
_value_allocator.Clear();
|
||||
_parse_allocator.Clear();
|
||||
bool has_parse_error = false;
|
||||
// parse jsondata to JsonDoc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user