ioc/db: dbLockCleanupRecords() warn only if lockSets remain
This commit is contained in:
1 parent
7efba21d1f
commit
1865e84321
1 file changed
+1
-3
+1
-3
@@ -565,12 +565,10 @@ void dbLockCleanupRecords(dbBase *pdbbase)
|
||||
|
||||
forEachRecord(NULL, pdbbase, &freeLockRecord);
|
||||
if(ellCount(&lockSetsActive)) {
|
||||
errlogMessage("Warning: dbLockCleanupRecords() leaking lockSets\n");
|
||||
printf("Warning: dbLockCleanupRecords() leaking lockSets\n");
|
||||
dblsr(NULL,2);
|
||||
}
|
||||
|
||||
assert(ellCount(&lockSetsActive)==0);
|
||||
|
||||
#ifndef LOCKSET_NOFREE
|
||||
while((cur=ellGet(&lockSetsFree))!=NULL) {
|
||||
lockSet *ls = (lockSet*)cur;
|
||||
|
||||
Reference in new issue
Block a user