fix mem leak

This commit is contained in:
yihaoDeng 2023-08-18 17:01:57 +08:00
parent 0537323bac
commit 3a3385bb84
1 changed files with 1 additions and 0 deletions

View File

@ -1987,6 +1987,7 @@ int32_t streamStateSessionGet_rocksdb(SStreamState* pState, SSessionKey* key, vo
} }
taosMemoryFree(tmp); taosMemoryFree(tmp);
streamStateFreeCur(pCur);
return code; return code;
} }