fix: no memory free in parser for stmt

This commit is contained in:
dapan1121 2022-08-30 14:19:02 +08:00
parent b60f5f8e43
commit 254d16667c
1 changed files with 4 additions and 0 deletions

View File

@ -1669,6 +1669,10 @@ int32_t parseInsertSql(SParseContext* pContext, SQuery** pQuery, SParseMetaCache
pDb = taosHashIterate(context.pDbFNameHashObj, pDb);
}
}
if (pContext->pStmtCb) {
context.pVgroupsHashObj = NULL;
context.pTableBlockHashObj = NULL;
}
destroyInsertParseContext(&context);
return code;
}