while (in < end) {
if (*in == '"') {
ds_clear(&out);
- ds_put_cstr(&out, "quoted string may not include unescape \"");
+ ds_put_cstr(&out, "quoted string may not include unescaped \"");
goto exit;
}
if (*in != '\\') {
p->parse_state = new_state;
return node;
} else {
+ json_destroy(new_json);
json_error(p, "input exceeds maximum nesting depth %d",
JSON_MAX_HEIGHT);
return NULL;