fix comment

This commit is contained in:
Yihao Deng 2024-07-04 06:38:14 +00:00
parent 0bd51f2133
commit ea01f1eb85
1 changed files with 1 additions and 2 deletions

View File

@ -577,8 +577,7 @@ int32_t streamSnapWriterOpen(void* pMeta, int64_t sver, int64_t ever, char* path
pHandle->pDbSnapSet = taosArrayInit(8, sizeof(SBackendSnapFile2));
if (pHandle->pDbSnapSet == NULL) {
terrno = TSDB_CODE_OUT_OF_MEMORY;
taosMemoryFree(pHandle->metaPath);
taosMemoryFree(pWriter);
streamSnapWriterClose(pWriter, 0);
return terrno;
}