fix invalid free
This commit is contained in:
parent
7fd918962f
commit
7815e44655
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue