refactor stream backend

This commit is contained in:
yihaoDeng 2023-10-24 16:17:54 +08:00
parent b3c54a0f06
commit d43b3b4a32
1 changed files with 1 additions and 2 deletions

View File

@ -687,8 +687,7 @@ void streamStateResetCur(SStreamStateCur* pCur) {
}
void streamStateFreeCur(SStreamStateCur* pCur) {
if (!pCur || pCur->buffIndex >= 0) {
taosMemoryFree(pCur);
if (!pCur) {
return;
}
qDebug("streamStateFreeCur");