diff --git a/src/util/src/tcache.c b/src/util/src/tcache.c index d7430f08acaaa0360d0b2379ce34daf4dcd4dbee..5be7253f6db80802feac5e51778fe89f5858733f 100644 --- a/src/util/src/tcache.c +++ b/src/util/src/tcache.c @@ -348,7 +348,7 @@ void taosCacheRelease(SCacheObj *pCacheObj, void **data, bool _remove) { // The operation of removal from hash table and addition to trashcan is not an atomic operation, // therefore the check for the empty of both the hash table and the trashcan has a race condition. // It happens when there is only one object in the cache, and two threads which has referenced this object - // start to free the it simultaneously. [TD-1569] + // start to free the it simultaneously [TD-1569]. size_t offset = offsetof(SCacheDataNode, data); SCacheDataNode *pNode = (SCacheDataNode *)((char *)(*data) - offset);