diff --git a/include/common/tmsg.h b/include/common/tmsg.h index 4aeec21d93..d9e034a159 100644 --- a/include/common/tmsg.h +++ b/include/common/tmsg.h @@ -2622,9 +2622,6 @@ static FORCE_INLINE void tdDestroySVCreateTbReq(SVCreateTbReq* req) { } else if (req->type == TSDB_NORMAL_TABLE) { taosMemoryFreeClear(req->ntb.schemaRow.pSchema); } - if(req->sql != NULL){ - taosMemoryFree(req->sql); - } } typedef struct {