diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-01-02 20:41:14 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-01-03 20:58:36 +0100 |
commit | ebd96906477aac2bbc6b9de0d6e9bd0f39db5581 (patch) | |
tree | e99409beabdaf9362b90bc7324af47d1143bc375 /src/network/networkd-dhcp-server.c | |
parent | conf-parser: expose config_section_{hash,compare}_func() (diff) | |
download | systemd-ebd96906477aac2bbc6b9de0d6e9bd0f39db5581.tar.xz systemd-ebd96906477aac2bbc6b9de0d6e9bd0f39db5581.zip |
network/address: introduce ref/unref functions for Address object
Then, Address object can live if it is detached from the owner (Link or
Network object).
Diffstat (limited to 'src/network/networkd-dhcp-server.c')
-rw-r--r-- | src/network/networkd-dhcp-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-dhcp-server.c b/src/network/networkd-dhcp-server.c index a486fd8927..81ef6d80f7 100644 --- a/src/network/networkd-dhcp-server.c +++ b/src/network/networkd-dhcp-server.c @@ -92,7 +92,7 @@ int network_adjust_dhcp_server(Network *network, Set **addresses) { } } else { - _cleanup_(address_freep) Address *a = NULL; + _cleanup_(address_unrefp) Address *a = NULL; Address *existing; unsigned line; |