summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-05-29 10:23:00 +0200
committerLennart Poettering <lennart@poettering.net>2020-05-29 14:49:40 +0200
commit433e14fda72604296516333a530166f701743ecb (patch)
treec4bc5d43e348e429430de1b0d2edfa48439d70ae /src/network
parentnetwork: clean up doubled white space (diff)
downloadsystemd-433e14fda72604296516333a530166f701743ecb.tar.xz
systemd-433e14fda72604296516333a530166f701743ecb.zip
network: fix memleaks
Fixes #15951.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-network.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index ae466a2310..d83da26f5a 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -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);