Skip to content

Commit

Permalink
Remove ObjectPool leak flag from GroupDataProviderImpl::mKeySetIterat…
Browse files Browse the repository at this point in the history
…ors (#12734)

#### Problem

The `ObjectPool` leak reported in #12503 _ObjectPool leaks in
GroupDataProviderImpl_ is no longer reproducable; possibly fixed
by d25a3ef.

#### Change overview

Remove the ‘allow leaks’ flag from `GroupDataProviderImpl::mKeySetIterators`.

#### Testing

CI.
  • Loading branch information
kpschoedel authored and pull[bot] committed Nov 3, 2023
1 parent 3abb211 commit 1724876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/credentials/GroupDataProviderImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class GroupDataProviderImpl : public GroupDataProvider
BitMapObjectPool<GroupMappingIteratorImpl, kIteratorsMax> mEndpointGroupsIterators;
BitMapObjectPool<AllStatesIterator, kIteratorsMax> mAllStatesIterators;
BitMapObjectPool<FabricStatesIterator, kIteratorsMax> mFabricStatesIterators;
BitMapObjectPool<KeySetIteratorImpl, kIteratorsMax, OnObjectPoolDestruction::IgnoreUnsafeDoNotUseInNewCode> mKeySetIterators;
BitMapObjectPool<KeySetIteratorImpl, kIteratorsMax> mKeySetIterators;
};

} // namespace Credentials
Expand Down

0 comments on commit 1724876

Please sign in to comment.