]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: free dhcp6_hostname
authorRonan Pigott <ronan@rjp.ie>
Tue, 31 Oct 2023 00:24:42 +0000 (17:24 -0700)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 31 Oct 2023 05:26:44 +0000 (14:26 +0900)
Fixes: b90480c80daa ("network: introduce SendHostname/Hostname DHCPv6 options")
src/network/networkd-network.c

index b9119d9d18c8f95ebd5cfbe583066bbf037bdb56..9ef28d283b71a13a52135f471127eea59fa25410 100644 (file)
@@ -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);