fix invalid read
This commit is contained in:
parent
14df30671b
commit
371e9075b7
|
@ -1034,7 +1034,7 @@ static void cliDestroy(uv_handle_t* handle) {
|
|||
SCliThrd* pThrd = conn->hostThrd;
|
||||
cliResetConnTimer(conn);
|
||||
|
||||
destroyAllReqs(conn);
|
||||
(void)destroyAllReqs(conn);
|
||||
|
||||
if (conn->refId > 0) {
|
||||
(void)transReleaseExHandle(transGetRefMgt(), conn->refId);
|
||||
|
@ -1123,7 +1123,7 @@ static void cliHandleException(SCliConn* conn) {
|
|||
STrans* pInst = pThrd->pInst;
|
||||
|
||||
cliResetConnTimer(conn);
|
||||
destroyAllReqs(conn);
|
||||
(void)destroyAllReqs(conn);
|
||||
|
||||
QUEUE_REMOVE(&conn->q);
|
||||
if (conn->registered) {
|
||||
|
|
Loading…
Reference in New Issue