Merge pull request #27737 from taosdata/fix/TD-31946

fix: memory leak in dispatcher
This commit is contained in:
Pan Wei 2024-09-08 09:17:09 +08:00 committed by GitHub
commit ee5c86dd06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -204,6 +204,7 @@ static int32_t putDataBlock(SDataSinkHandle* pHandle, const SInputData* pInput,
_return:
taosMemoryFreeClear(pBuf->pData);
taosFreeQitem(pBuf);
return code;
}