commit
4d2b26eb5b
|
@ -2211,10 +2211,8 @@ int32_t initQueryTableDataCond(SQueryTableDataCond* pCond, const STableScanPhysi
|
||||||
return terrno;
|
return terrno;
|
||||||
}
|
}
|
||||||
pCond->pSlotList = taosMemoryMalloc(sizeof(int32_t) * pCond->numOfCols);
|
pCond->pSlotList = taosMemoryMalloc(sizeof(int32_t) * pCond->numOfCols);
|
||||||
if (pCond->colList == NULL || pCond->pSlotList == NULL) {
|
if (pCond->pSlotList == NULL) {
|
||||||
terrno = TSDB_CODE_OUT_OF_MEMORY;
|
|
||||||
taosMemoryFreeClear(pCond->colList);
|
taosMemoryFreeClear(pCond->colList);
|
||||||
taosMemoryFreeClear(pCond->pSlotList);
|
|
||||||
return terrno;
|
return terrno;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue