From: Yu Watanabe Date: Thu, 17 Apr 2025 21:00:15 +0000 (+0900) Subject: network/manager: hash_ops related cleanups (#37121) X-Git-Tag: v258-rc1~789 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7baf24c94960f824e815d744a8e46511bf9ab40b;p=thirdparty%2Fsystemd.git network/manager: hash_ops related cleanups (#37121) --- 7baf24c94960f824e815d744a8e46511bf9ab40b diff --cc src/network/networkd-network.c index 2a5f9eb900e,9994eeb7697..03e91dccd48 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@@ -820,10 -829,10 +824,10 @@@ static Network *network_free(Network *n netdev_unref(network->bridge); netdev_unref(network->bond); netdev_unref(network->vrf); - hashmap_free_with_destructor(network->stacked_netdevs, netdev_unref); + hashmap_free(network->stacked_netdevs); /* static configs */ - set_free_free(network->ipv6_proxy_ndp_addresses); + set_free(network->ipv6_proxy_ndp_addresses); ordered_hashmap_free(network->addresses_by_section); hashmap_free(network->routes_by_section); ordered_hashmap_free(network->nexthops_by_section);