chore: revert
This commit is contained in:
parent
2ae64cdf1d
commit
a049ae6f9d
|
@ -388,10 +388,11 @@ void doDestroyRequest(void *p) {
|
|||
deregisterRequest(pRequest);
|
||||
}
|
||||
|
||||
if (pRequest->body.param) {
|
||||
tsem_destroy(&((SSyncQueryParam *)pRequest->body.param)->sem);
|
||||
if (pRequest->syncQuery) {
|
||||
if (pRequest->body.param) {
|
||||
tsem_destroy(&((SSyncQueryParam *)pRequest->body.param)->sem);
|
||||
}
|
||||
taosMemoryFree(pRequest->body.param);
|
||||
pRequest->body.param = NULL;
|
||||
}
|
||||
|
||||
qDestroyQuery(pRequest->pQuery);
|
||||
|
|
Loading…
Reference in New Issue