fix invalid free

This commit is contained in:
yihaoDeng 2023-06-05 08:42:00 +00:00
parent c77f7f65d2
commit 63c4929089
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ _EXIT:
taosHashCleanup(pHandle->cfInst);
rocksdb_compactionfilterfactory_destroy(pHandle->filterFactory);
tdListFree(pHandle->list);
free(pHandle);
taosMemoryFree(pHandle);
qDebug("failed to init stream backend at %s", path);
return NULL;
}