fix:json parse error
This commit is contained in:
parent
5290c32fd1
commit
c549bc7183
|
@ -958,12 +958,14 @@ static int32_t smlParseJSONStringExt(SSmlHandle *info, cJSON *root, SSmlLineInfo
|
|||
if (unlikely(ret)) {
|
||||
uError("OTD:0x%" PRIx64 " Unable to parse tags from JSON payload", info->id);
|
||||
taosMemoryFree(elements->tags);
|
||||
elements->tags = NULL;
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
if(info->dataFormat){
|
||||
taosMemoryFree(elements->tags);
|
||||
elements->tags = NULL;
|
||||
}
|
||||
|
||||
if(unlikely(info->reRun)){
|
||||
|
|
Loading…
Reference in New Issue