From 94b3a07eff04aea926fb5146dca3ee1d3bf29b2d Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Thu, 26 Sep 2024 15:28:00 +0800 Subject: [PATCH] check return code --- source/libs/index/src/index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/index/src/index.c b/source/libs/index/src/index.c index 0631e9bc15..a1a8f9a59e 100644 --- a/source/libs/index/src/index.c +++ b/source/libs/index/src/index.c @@ -377,7 +377,7 @@ SIndexTerm* indexTermCreate(int64_t suid, SIndexOperOnColumn oper, uint8_t colTy taosMemoryFree(tm->colName); taosMemoryFree(tm); terrno = TSDB_CODE_OUT_OF_MEMORY; - return NULL + return NULL; } len = (int32_t)strlen(emptyStr); }