summaryrefslogtreecommitdiff
path: root/src/shared/net-condition.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-11-05 01:33:25 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-11-09 21:39:09 +0900
commitc6df73ca72ecbe5c9a41ff19b49f7187fa326a58 (patch)
treedc1ff2d6620425d6a08d6d28ae0850a90eecbd3c /src/shared/net-condition.c
parentaa4f765326aa75622f1ab50068ca824ed33ecf8e (diff)
downloadsystemd-c6df73ca72ecbe5c9a41ff19b49f7187fa326a58.tar.gz
ether-addr-util: introduce {hw,ether}_addr_hash_ops_free
Diffstat (limited to 'src/shared/net-condition.c')
-rw-r--r--src/shared/net-condition.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/net-condition.c b/src/shared/net-condition.c
index 52cac19df3..ac0a364f06 100644
--- a/src/shared/net-condition.c
+++ b/src/shared/net-condition.c
@@ -17,8 +17,8 @@ void net_match_clear(NetMatch *match) {
if (!match)
return;
- match->mac = set_free_free(match->mac);
- match->permanent_mac = set_free_free(match->permanent_mac);
+ match->mac = set_free(match->mac);
+ match->permanent_mac = set_free(match->permanent_mac);
match->path = strv_free(match->path);
match->driver = strv_free(match->driver);
match->iftype = strv_free(match->iftype);
@@ -26,7 +26,7 @@ void net_match_clear(NetMatch *match) {
match->property = strv_free(match->property);
match->wlan_iftype = strv_free(match->wlan_iftype);
match->ssid = strv_free(match->ssid);
- match->bssid = set_free_free(match->bssid);
+ match->bssid = set_free(match->bssid);
}
bool net_match_is_empty(const NetMatch *match) {