fix mem leak

This commit is contained in:
yihaoDeng 2023-10-08 13:33:02 +08:00
parent 9d430c39ae
commit b5994b31e2
1 changed files with 0 additions and 1 deletions

View File

@ -154,7 +154,6 @@ int32_t streamSnapHandleInit(SStreamSnapHandle* pHandle, char* path, int64_t chk
TdDirPtr pDir = taosOpenDir(tdir);
if (NULL == pDir) {
taosMemoryFree(tdir);
stError("%s failed to open %s", STREAM_STATE_TRANSFER, tdir);
goto _err;
}