fix:core dump if tmq is null
This commit is contained in:
parent
05c016b667
commit
9cfb15d4f4
|
@ -1375,7 +1375,7 @@ END:
|
||||||
taosReleaseRef(tmqMgmt.rsetId, refId);
|
taosReleaseRef(tmqMgmt.rsetId, refId);
|
||||||
|
|
||||||
FAIL:
|
FAIL:
|
||||||
tsem_post(&tmq->rspSem);
|
if(tmq) tsem_post(&tmq->rspSem);
|
||||||
taosMemoryFree(pParam);
|
taosMemoryFree(pParam);
|
||||||
if(pMsg) taosMemoryFreeClear(pMsg->pData);
|
if(pMsg) taosMemoryFreeClear(pMsg->pData);
|
||||||
if(pMsg) taosMemoryFreeClear(pMsg->pEpSet);
|
if(pMsg) taosMemoryFreeClear(pMsg->pEpSet);
|
||||||
|
|
Loading…
Reference in New Issue