fix: fix double free caused crash

This commit is contained in:
Ganlin Zhao 2023-04-17 16:57:29 +08:00
parent 0993510d91
commit d21628b2c9
1 changed files with 1 additions and 1 deletions

View File

@ -4236,7 +4236,7 @@ static int32_t doOpenReaderImpl(STsdbReader* pReader) {
static void freeSchemaFunc(void* param) {
void* p = *(void**)param;
taosMemoryFree(p);
taosMemoryFreeClear(p);
}
// ====================================== EXPOSED APIs ======================================