fix:[TS-4921] logic error
This commit is contained in:
parent
fe6eb5d8c3
commit
c5ef577b1b
|
@ -557,7 +557,6 @@ void doDestroyRequest(void *p) {
|
||||||
tsem_destroy(&pRequest->body.rspSem);
|
tsem_destroy(&pRequest->body.rspSem);
|
||||||
|
|
||||||
taosArrayDestroy(pRequest->tableList);
|
taosArrayDestroy(pRequest->tableList);
|
||||||
taosArrayDestroy(pRequest->dbList);
|
|
||||||
taosArrayDestroy(pRequest->targetTableList);
|
taosArrayDestroy(pRequest->targetTableList);
|
||||||
|
|
||||||
destroyQueryExecRes(&pRequest->body.resInfo.execRes);
|
destroyQueryExecRes(&pRequest->body.resInfo.execRes);
|
||||||
|
@ -566,6 +565,7 @@ void doDestroyRequest(void *p) {
|
||||||
deregisterRequest(pRequest);
|
deregisterRequest(pRequest);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
taosArrayDestroy(pRequest->dbList);
|
||||||
if (pRequest->body.interParam) {
|
if (pRequest->body.interParam) {
|
||||||
tsem_destroy(&((SSyncQueryParam *)pRequest->body.interParam)->sem);
|
tsem_destroy(&((SSyncQueryParam *)pRequest->body.interParam)->sem);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue