From 460ee86fdf6e6b91272f916df507e99b4efa4b89 Mon Sep 17 00:00:00 2001 From: liuyao <54liuyao@163.com> Date: Sat, 7 Oct 2023 11:55:40 +0800 Subject: [PATCH] fix issue --- source/libs/stream/src/streamSessionState.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libs/stream/src/streamSessionState.c b/source/libs/stream/src/streamSessionState.c index 370a8f5224..c4207e255c 100644 --- a/source/libs/stream/src/streamSessionState.c +++ b/source/libs/stream/src/streamSessionState.c @@ -500,6 +500,7 @@ int32_t getStateWinResultBuff(SStreamFileState* pFileState, SSessionKey* key, ch } else { (*pVal) = addNewSessionWindow(pFileState, pWinStates, key); code = TSDB_CODE_FAILED; + taosMemoryFree(p); } goto _end; }