提交 7815e446 编写于 作者: Y yihaoDeng

fix invalid free

上级 7fd91896
...@@ -287,11 +287,10 @@ _EXIT: ...@@ -287,11 +287,10 @@ _EXIT:
taosThreadMutexDestroy(&pHandle->mutex); taosThreadMutexDestroy(&pHandle->mutex);
taosThreadMutexDestroy(&pHandle->cfMutex); taosThreadMutexDestroy(&pHandle->cfMutex);
taosHashCleanup(pHandle->cfInst); taosHashCleanup(pHandle->cfInst);
// rocksdb_compactionfilterfactory_destroy(pHandle->filterFactory);
tdListFree(pHandle->list); tdListFree(pHandle->list);
taosMemoryFree(backendPath);
taosMemoryFree(pHandle); taosMemoryFree(pHandle);
qDebug("failed to init stream backend at %s", backendPath); qDebug("failed to init stream backend at %s", backendPath);
taosMemoryFree(backendPath);
return NULL; return NULL;
} }
void streamBackendCleanup(void* arg) { void streamBackendCleanup(void* arg) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册