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