diff options
author | Susant Sahani <susant@redhat.com> | 2014-06-16 11:54:34 +0530 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-06-16 20:38:22 +0200 |
commit | 889a044ddc554882923a3c05870c050e010b50dc (patch) | |
tree | 830ed4345a33278c6e7bc73b68dced54969b930d | |
parent | 326cb4061a7d6ec4107f298b6f947d645512ad76 (diff) |
networkd: unref tunnel
Unref tunnel while shutting down
-rw-r--r-- | src/network/networkd-network.c | 2 |
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); |