fix:[TS-4921] logic error

This commit is contained in:
wangmm0220 2024-06-22 11:21:32 +08:00
parent fe6eb5d8c3
commit c5ef577b1b
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,6 @@ void doDestroyRequest(void *p) {
tsem_destroy(&pRequest->body.rspSem);
taosArrayDestroy(pRequest->tableList);
taosArrayDestroy(pRequest->dbList);
taosArrayDestroy(pRequest->targetTableList);
destroyQueryExecRes(&pRequest->body.resInfo.execRes);
@ -566,6 +565,7 @@ void doDestroyRequest(void *p) {
deregisterRequest(pRequest);
}
taosArrayDestroy(pRequest->dbList);
if (pRequest->body.interParam) {
tsem_destroy(&((SSyncQueryParam *)pRequest->body.interParam)->sem);
}