unused pointer
This commit is contained in:
parent
5a85303c37
commit
165875ac4f
|
@ -935,13 +935,13 @@ int32_t ctgEnqueue(SCatalog *pCtg, SCtgCacheOperation *operation) {
|
||||||
if (!operation->unLocked) {
|
if (!operation->unLocked) {
|
||||||
CTG_LOCK(CTG_READ, &gCtgMgmt.lock);
|
CTG_LOCK(CTG_READ, &gCtgMgmt.lock);
|
||||||
}
|
}
|
||||||
tsem_destroy(&operation->rspSem);
|
TAOS_UNUSED(tsem_destroy(&operation->rspSem));
|
||||||
taosMemoryFree(operation);
|
taosMemoryFree(operation);
|
||||||
}
|
}
|
||||||
|
|
||||||
_return:
|
_return:
|
||||||
if (syncOp) {
|
if (syncOp) {
|
||||||
tsem_destroy(&operation->rspSem);
|
TAOS_UNUSED(tsem_destroy(&operation->rspSem));
|
||||||
}
|
}
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue