diff --git a/source/libs/stream/src/streamBackendRocksdb.c b/source/libs/stream/src/streamBackendRocksdb.c index 80bd89ec67..4d3d70dcd1 100644 --- a/source/libs/stream/src/streamBackendRocksdb.c +++ b/source/libs/stream/src/streamBackendRocksdb.c @@ -287,11 +287,10 @@ _EXIT: taosThreadMutexDestroy(&pHandle->mutex); taosThreadMutexDestroy(&pHandle->cfMutex); taosHashCleanup(pHandle->cfInst); - // rocksdb_compactionfilterfactory_destroy(pHandle->filterFactory); tdListFree(pHandle->list); - taosMemoryFree(backendPath); taosMemoryFree(pHandle); qDebug("failed to init stream backend at %s", backendPath); + taosMemoryFree(backendPath); return NULL; } void streamBackendCleanup(void* arg) {