fix(stream): fix memory leak.

This commit is contained in:
Haojun Liao 2023-10-30 13:29:35 +08:00
parent b0700d6095
commit 15d217fc3e
1 changed files with 2 additions and 0 deletions

View File

@ -335,6 +335,8 @@ int32_t doMergeExistedRows(SSubmitTbData* pExisted, const SSubmitTbData* pNew, c
tqTrace("s-task:%s rows merged, final rows:%d, uid:%" PRId64 ", existed auto-create table:%d, new-block:%d", id,
(int32_t)taosArrayGetSize(pFinal), pExisted->uid, (pExisted->pCreateTbReq != NULL), (pNew->pCreateTbReq != NULL));
tdDestroySVCreateTbReq(pNew->pCreateTbReq);
return TSDB_CODE_SUCCESS;
}