From d1d35c48e4f7d4efb2e01034477b6ffb4ebc9cca Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Sat, 10 Sep 2022 17:24:23 +0800 Subject: [PATCH] fix: make CI happy --- source/libs/transport/src/transCli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/libs/transport/src/transCli.c b/source/libs/transport/src/transCli.c index 289e093623..e0b47a98bc 100644 --- a/source/libs/transport/src/transCli.c +++ b/source/libs/transport/src/transCli.c @@ -376,7 +376,7 @@ void cliHandleResp(SCliConn* conn) { return; } - if (pMsg->type != Release) { + if (pMsg && pMsg->type != Release) { if (cliAppCb(conn, &transMsg, pMsg) != 0) { return; } @@ -437,7 +437,7 @@ void cliHandleExceptImpl(SCliConn* pConn, int32_t code) { continue; } } - if (pMsg->type != Release) { + if (pMsg && pMsg->type != Release) { if (cliAppCb(pConn, &transMsg, pMsg) != 0) { return; }