summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRonan Pigott <ronan@rjp.ie>2023-10-31 01:24:42 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-10-31 06:26:44 +0100
commit9968ca32cf482dbe61447e210638b5df80b74a7c (patch)
treed1a947a394e294a0c617185a6cb7b6fd3fc99a3e /src
parentMerge pull request #29767 from poettering/host-to-host (diff)
downloadsystemd-9968ca32cf482dbe61447e210638b5df80b74a7c.tar.xz
systemd-9968ca32cf482dbe61447e210638b5df80b74a7c.zip
network: free dhcp6_hostname
Fixes: b90480c80daa ("network: introduce SendHostname/Hostname DHCPv6 options")
Diffstat (limited to 'src')
-rw-r--r--src/network/networkd-network.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index b9119d9d18..9ef28d283b 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -722,6 +722,7 @@ static Network *network_free(Network *network) {
/* DHCPv6 client */
free(network->dhcp6_mudurl);
+ free(network->dhcp6_hostname);
strv_free(network->dhcp6_user_class);
strv_free(network->dhcp6_vendor_class);
set_free(network->dhcp6_request_options);