fix: function return code issue
This commit is contained in:
parent
b0209fa463
commit
cdeb534125
|
@ -1225,8 +1225,11 @@ static int32_t taosCreateTable(TAOS* taos, void* meta, int32_t metaLen) {
|
||||||
if (code != TSDB_CODE_SUCCESS) {
|
if (code != TSDB_CODE_SUCCESS) {
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
if (NULL == taosArrayPush(pTagList, &ppTag)) {
|
||||||
|
tTagFree(ppTag);
|
||||||
|
goto end;
|
||||||
|
}
|
||||||
pCreateReq->ctb.pTag = (uint8_t*)ppTag;
|
pCreateReq->ctb.pTag = (uint8_t*)ppTag;
|
||||||
taosArrayPush(pTagList, &ppTag);
|
|
||||||
}
|
}
|
||||||
taosArrayDestroy(pTagVals);
|
taosArrayDestroy(pTagVals);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue