summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-06-17 19:40:12 +0200
committerTom Gundersen <teg@jklm.no>2014-06-17 23:21:31 +0200
commit5a3f198964dbc6fcf9157f1673689698ae89a3bf (patch)
treef46854d24b3fd0fad48102dc29b0c309ce369075 /src/network
parentde228aabc833901e7c75aab8d62e58229e2a8bfc (diff)
networkd: veth - fix memleak
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-netdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c
index 5359eb179b..8879e08999 100644
--- a/src/network/networkd-netdev.c
+++ b/src/network/networkd-netdev.c
@@ -94,6 +94,7 @@ static void netdev_free(NetDev *netdev) {
free(netdev->description);
free(netdev->ifname);
+ free(netdev->ifname_peer);
free(netdev->mac);
free(netdev->mac_peer);