Merge pull request #21977 from taosdata/mark/tmq
fix:null pointer error
This commit is contained in:
commit
8fd49013f2
|
@ -2557,6 +2557,9 @@ static int32_t tmqGetWalInfoCb(void* param, SDataBuf* pMsg, int32_t code) {
|
|||
}
|
||||
|
||||
static void destroyCommonInfo(SMqVgCommon* pCommon) {
|
||||
if(pCommon == NULL){
|
||||
return;
|
||||
}
|
||||
taosArrayDestroy(pCommon->pList);
|
||||
tsem_destroy(&pCommon->rsp);
|
||||
taosThreadMutexDestroy(&pCommon->mutex);
|
||||
|
|
Loading…
Reference in New Issue