diff --git a/include/common/tmsg.h b/include/common/tmsg.h index 0dbfa18833..d9e034a159 100644 --- a/include/common/tmsg.h +++ b/include/common/tmsg.h @@ -2610,7 +2610,8 @@ static FORCE_INLINE void tdDestroySVCreateTbReq(SVCreateTbReq* req) { if (NULL == req) { return; } - + + taosMemoryFreeClear(req->sql); taosMemoryFreeClear(req->name); taosMemoryFreeClear(req->comment); if (req->type == TSDB_CHILD_TABLE) {