refactor transport

This commit is contained in:
Yihao Deng 2024-07-24 05:15:16 +00:00
parent 54476daaba
commit c4abac2cfa
1 changed files with 1 additions and 1 deletions

View File

@ -2875,7 +2875,7 @@ int transSendRecv(void* shandle, const SEpSet* pEpSet, STransMsg* pReq, STransMs
STransConnCtx* pCtx = taosMemoryCalloc(1, sizeof(STransConnCtx));
if (pCtx == NULL) {
sem_destroy(sem);
tsem_destroy(sem);
taosMemoryFree(sem);
TAOS_CHECK_GOTO(TSDB_CODE_OUT_OF_MEMORY, NULL, _RETURN1);
}