chore: revert

This commit is contained in:
kailixu 2023-05-08 14:59:56 +08:00
parent 2ae64cdf1d
commit a049ae6f9d
1 changed files with 4 additions and 3 deletions

View File

@ -388,10 +388,11 @@ void doDestroyRequest(void *p) {
deregisterRequest(pRequest); deregisterRequest(pRequest);
} }
if (pRequest->syncQuery) {
if (pRequest->body.param) { if (pRequest->body.param) {
tsem_destroy(&((SSyncQueryParam *)pRequest->body.param)->sem); tsem_destroy(&((SSyncQueryParam *)pRequest->body.param)->sem);
}
taosMemoryFree(pRequest->body.param); taosMemoryFree(pRequest->body.param);
pRequest->body.param = NULL;
} }
qDestroyQuery(pRequest->pQuery); qDestroyQuery(pRequest->pQuery);