提交 10e35f1e 编写于 作者: D dapan1121

fix: free pointer issue

上级 05bd600e
......@@ -312,8 +312,8 @@ static int32_t ensureBlockScanInfoBuf(SBlockInfoBuf* pBuf, int32_t numOfTables)
}
if (pBuf->numOfTables > 0) {
STableBlockScanInfo *p = (STableBlockScanInfo*)taosArrayPop(pBuf->pData);
taosMemoryFree(p);
STableBlockScanInfo **p = (STableBlockScanInfo**)taosArrayPop(pBuf->pData);
taosMemoryFree(*p);
pBuf->numOfTables /= pBuf->numPerBucket;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册