fix(query): fix memory leak in histogram param validation

TD-17598
This commit is contained in:
Ganlin Zhao 2022-07-20 14:42:03 +08:00
parent 01385a4beb
commit a2dd6f0ce5
1 changed files with 1 additions and 0 deletions

View File

@ -958,6 +958,7 @@ static bool validateHistogramBinDesc(char* binDescStr, int8_t binType, char* err
return false;
}
cJSON_Delete(binDesc);
taosMemoryFree(intervals);
return true;
}