fix destoryShowCreateTableStmt

This commit is contained in:
Bob Liu 2023-11-19 23:56:34 +08:00
parent 59a8fab0d7
commit 084d0ab367
1 changed files with 1 additions and 1 deletions

View File

@ -7045,7 +7045,7 @@ void destoryShowCreateDatabaseStmt(SNode* pNode) {
void destoryShowCreateTableStmt(SNode* pNode) {
STableCfg* pCfg = (STableCfg*)(((SShowCreateTableStmt*)pNode)->pTableCfg);
taosMemoryFreeClear(pCfg);
taosMemoryFreeClear(((SShowCreateTableStmt*)pNode)->pDbCfg);
if (NULL == pCfg) {
return;
}