mirror of
https://github.com/espressif/openthread.git
synced 2026-07-08 13:20:25 +00:00
226f239c5d
This commit introduces a new method, `RemoveAndFreeAllMatching()`, to the `OwningList<Type>` class. This method removes and frees all entries in the list that match a given indicator. This is used to simplify the native mDNS implementation. The unit test `test_linked_list` is also updated to validate the newly added helper method.