fix: no memory free in parser for stmt
This commit is contained in:
parent
b60f5f8e43
commit
254d16667c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue