This commit is contained in:
lihui 2020-01-21 15:31:30 +08:00
parent 64337a45ba
commit ffe1cbcfbf
1 changed files with 2 additions and 0 deletions

View File

@ -1186,6 +1186,8 @@ int mgmtRetrieveMetricMeta(SConnObj *pConn, char **pStart, SMetricMetaMsg *pMetr
int32_t * tagLen = calloc(1, sizeof(int32_t) * pMetricMetaMsg->numOfMeters);
if (result == NULL || tagLen == NULL) {
tfree(result);
tfree(tagLen);
return -1;
}