network: dhcp6 - fix memory leak

This commit is contained in:
Susant Sahani
2020-05-29 13:37:58 +02:00
parent b4ccc5de7d
commit 1c3ec1cd45
+1
View File
@@ -749,6 +749,7 @@ static Network *network_free(Network *network) {
ordered_hashmap_free(network->dhcp_server_send_options);
ordered_hashmap_free(network->dhcp_server_send_vendor_options);
ordered_hashmap_free(network->ipv6_tokens);
ordered_hashmap_free(network->dhcp6_client_send_options);
ordered_hashmap_free(network->dhcp6_client_send_vendor_options);
return mfree(network);