Skip to content

libnm-core/wireless: fix memory leak in add_mac_denylist_item()


Removes the nm_utils_hwaddr_canonical() call that was left over from before the change to strv.


The add_mac_denylist_item() function currently leaks 18 bytes per successful invocation.


Please read before opening the merge request. In particular, check that:

  • the subject for all commits is concise and explicative
  • the message for all commits explains the reason for the change
  • the source is properly formatted
  • any relevant documentation is up to date
  • you have added unit tests if applicable

Merge request reports