check return code

This commit is contained in:
Yihao Deng 2024-08-28 10:27:45 +00:00
parent 9e25d22f47
commit 61175aed5d
1 changed files with 1 additions and 1 deletions

View File

@ -1169,7 +1169,7 @@ int32_t chkpMayDelObsolete(void* arg, int64_t chkpId, char* path) {
_exception:
taosArrayDestroy(chkpDup);
taosArrayDestroy(chkpDel);
taosThreadRwlockUnlock(&pBackend->chkpDirLock);
(void)taosThreadRwlockUnlock(&pBackend->chkpDirLock);
return code;
}