diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-05-29 10:23:00 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-05-29 14:49:40 +0200 |
commit | 433e14fda72604296516333a530166f701743ecb (patch) | |
tree | c4bc5d43e348e429430de1b0d2edfa48439d70ae /src/network | |
parent | network: clean up doubled white space (diff) | |
download | systemd-433e14fda72604296516333a530166f701743ecb.tar.xz systemd-433e14fda72604296516333a530166f701743ecb.zip |
network: fix memleaks
Fixes #15951.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkd-network.c | 3 |
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); |