From 43dc95869f801b1c81c2264b3ed654a1b6508617 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Wed, 17 Jul 2024 19:41:06 +0800 Subject: [PATCH] fix(stream):set the initialized value. --- source/libs/stream/src/streamHb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/libs/stream/src/streamHb.c b/source/libs/stream/src/streamHb.c index d8ee15c909..84eb6b319f 100644 --- a/source/libs/stream/src/streamHb.c +++ b/source/libs/stream/src/streamHb.c @@ -287,6 +287,8 @@ int32_t createMetaHbInfo(int64_t* pRid, SMetaHbInfo** pRes) { pInfo->stopFlag = 0; pInfo->msgSendTs = -1; pInfo->hbCount = 0; + + *pRes = pInfo; return TSDB_CODE_SUCCESS; }