Merge pull request #1167 from taosdata/feature/lihui

[#1165]
This commit is contained in:
slguan 2020-01-31 12:10:48 +08:00 committed by GitHub
commit c4d3d93a49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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); int32_t * tagLen = calloc(1, sizeof(int32_t) * pMetricMetaMsg->numOfMeters);
if (result == NULL || tagLen == NULL) { if (result == NULL || tagLen == NULL) {
tfree(result);
tfree(tagLen);
return -1; return -1;
} }