From 19bbf105792416cb5a00490692b69d27536f2ed1 Mon Sep 17 00:00:00 2001 From: liuyao <54liuyao@163.com> Date: Sat, 7 Oct 2023 17:59:53 +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 8aedc41625..fbf4b2693c 100644 --- a/source/libs/stream/src/streamSessionState.c +++ b/source/libs/stream/src/streamSessionState.c @@ -124,6 +124,7 @@ int32_t getSessionWinResultBuff(SStreamFileState* pFileState, SSessionKey* pKey, } else { (*pVal) = addNewSessionWindow(pFileState, pWinStates, pKey); code = TSDB_CODE_FAILED; + taosMemoryFree(p); } goto _end; }