未验证 提交 2af63992 编写于 作者: D dapan1121 提交者: GitHub

Merge pull request #20952 from taosdata/fix/TD-23639

fix: fix double free caused crash
......@@ -4251,8 +4251,8 @@ static int32_t doOpenReaderImpl(STsdbReader* pReader) {
}
static void freeSchemaFunc(void* param) {
void* p = *(void**)param;
taosMemoryFree(p);
void **p = (void **)param;
taosMemoryFreeClear(*p);
}
// ====================================== EXPOSED APIs ======================================
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册