提交 d21628b2 编写于 作者: G Ganlin Zhao

fix: fix double free caused crash

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