fix: make CI happy
This commit is contained in:
parent
93dd2101c1
commit
eac5d2c497
|
@ -376,9 +376,11 @@ void cliHandleResp(SCliConn* conn) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (pMsg->type != Release) {
|
||||
if (cliAppCb(conn, &transMsg, pMsg) != 0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
destroyCmsg(pMsg);
|
||||
|
||||
if (cliMaySendCachedMsg(conn) == true) {
|
||||
|
@ -435,9 +437,11 @@ void cliHandleExceptImpl(SCliConn* pConn, int32_t code) {
|
|||
continue;
|
||||
}
|
||||
}
|
||||
if (pMsg->type != Release) {
|
||||
if (cliAppCb(pConn, &transMsg, pMsg) != 0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
destroyCmsg(pMsg);
|
||||
tTrace("%s conn %p start to destroy, ref:%d", CONN_GET_INST_LABEL(pConn), pConn, T_REF_VAL_GET(pConn));
|
||||
} while (!transQueueEmpty(&pConn->cliMsgs));
|
||||
|
@ -1457,7 +1461,7 @@ int transReleaseCliHandle(void* handle) {
|
|||
tGDebug("send release request at thread:%08" PRId64 "", pThrd->pid);
|
||||
|
||||
if (0 != transAsyncSend(pThrd->asyncPool, &cmsg->q)) {
|
||||
taosMemoryFree(cmsg);
|
||||
destroyCmsg(cmsg);
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue