network: fix memleaks

Fixes #15951.
This commit is contained in:
Yu Watanabe 2020-05-29 17:23:00 +09:00 committed by Lennart Poettering
parent 7c5f97f5e3
commit 433e14fda7
2 changed files with 5 additions and 0 deletions

View File

@ -739,6 +739,9 @@ static Network *network_free(Network *network) {
free(network->dhcp_server_dns);
free(network->dhcp_server_ntp);
free(network->dhcp_server_sip);
free(network->dhcp_server_pop3);
free(network->dhcp_server_smtp);
free(network->dhcp_server_lpr);
set_free_free(network->dnssec_negative_trust_anchors);

View File

@ -0,0 +1,2 @@
[DHCPServer]
POP3Servers=1.8.5.0