mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Fix json parsing
This commit is contained in:
parent
fcd96e0ec4
commit
3a54e8d84c
@ -408,6 +408,8 @@ void JsonParser::parse(char * json_in) {
|
||||
// TODO error checking
|
||||
if (_token_len >= 0) {
|
||||
postProcess(json_len);
|
||||
} else {
|
||||
this->free(); // invalid JSON
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user