fix: fix mem leak

This commit is contained in:
slzhou 2023-09-19 10:38:35 +08:00
parent 7b2eea0b4b
commit 68c5a7fe50
1 changed files with 2 additions and 1 deletions

View File

@ -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) {