Merge pull request #23249 from taosdata/feat/TD-26052
fix:core dump if tmq is null
This commit is contained in:
commit
cdd480d186
|
@ -1366,7 +1366,7 @@ END:
|
|||
taosReleaseRef(tmqMgmt.rsetId, refId);
|
||||
|
||||
FAIL:
|
||||
tsem_post(&tmq->rspSem);
|
||||
if(tmq) tsem_post(&tmq->rspSem);
|
||||
taosMemoryFree(pParam);
|
||||
if(pMsg) taosMemoryFreeClear(pMsg->pData);
|
||||
if(pMsg) taosMemoryFreeClear(pMsg->pEpSet);
|
||||
|
|
Loading…
Reference in New Issue