check return code
This commit is contained in:
parent
67b0e076bd
commit
94b3a07eff
|
@ -377,7 +377,7 @@ SIndexTerm* indexTermCreate(int64_t suid, SIndexOperOnColumn oper, uint8_t colTy
|
||||||
taosMemoryFree(tm->colName);
|
taosMemoryFree(tm->colName);
|
||||||
taosMemoryFree(tm);
|
taosMemoryFree(tm);
|
||||||
terrno = TSDB_CODE_OUT_OF_MEMORY;
|
terrno = TSDB_CODE_OUT_OF_MEMORY;
|
||||||
return NULL
|
return NULL;
|
||||||
}
|
}
|
||||||
len = (int32_t)strlen(emptyStr);
|
len = (int32_t)strlen(emptyStr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue