diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-03-24 23:45:33 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-03-24 23:46:13 +0100 |
commit | 79e16ce3bf734434081e57f1170333277830a592 (patch) | |
tree | 5edbca6884ba0427ad743a09be2ae1fbc48512f4 /src/network/networkd-netdev.c | |
parent | c3ebdce39a748f738f3731730cd085ff3551b379 (diff) |
networkd: fix a couple of memory leaks
Diffstat (limited to 'src/network/networkd-netdev.c')
-rw-r--r-- | src/network/networkd-netdev.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c index cdf07ad704..e333c47b1f 100644 --- a/src/network/networkd-netdev.c +++ b/src/network/networkd-netdev.c @@ -67,6 +67,11 @@ void netdev_free(NetDev *netdev) { free(netdev->description); free(netdev->name); + condition_free_list(netdev->match_host); + condition_free_list(netdev->match_virt); + condition_free_list(netdev->match_kernel); + condition_free_list(netdev->match_arch); + free(netdev); } |