summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.c
diff options
context:
space:
mode:
authorSusant Sahani <susant@redhat.com>2014-06-16 11:54:34 +0530
committerTom Gundersen <teg@jklm.no>2014-06-16 20:38:22 +0200
commit889a044ddc554882923a3c05870c050e010b50dc (patch)
tree830ed4345a33278c6e7bc73b68dced54969b930d /src/network/networkd-network.c
parent326cb4061a7d6ec4107f298b6f947d645512ad76 (diff)
networkd: unref tunnel
Unref tunnel while shutting down
Diffstat (limited to 'src/network/networkd-network.c')
-rw-r--r--src/network/networkd-network.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index 45c1ab0f4c..8e7cdf670b 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -179,6 +179,8 @@ void network_free(Network *network) {
netdev_unref(network->bond);
+ netdev_unref(network->tunnel);
+
HASHMAP_FOREACH(netdev, network->vlans, i)
netdev_unref(netdev);
hashmap_free(network->vlans);