mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 05:06:32 +00:00
commit
84df0d0801
@ -408,6 +408,8 @@ void JsonParser::parse(char * json_in) {
|
|||||||
// TODO error checking
|
// TODO error checking
|
||||||
if (_token_len >= 0) {
|
if (_token_len >= 0) {
|
||||||
postProcess(json_len);
|
postProcess(json_len);
|
||||||
|
} else {
|
||||||
|
this->free(); // invalid JSON
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user