chore: revert
This commit is contained in:
parent
a99db2e39a
commit
49ad732517
|
@ -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