chiark / gitweb /
networkd: unref tunnel
authorSusant Sahani <susant@redhat.com>
Mon, 16 Jun 2014 06:24:34 +0000 (11:54 +0530)
committerTom Gundersen <teg@jklm.no>
Mon, 16 Jun 2014 18:38:22 +0000 (20:38 +0200)
Unref tunnel while shutting down

src/network/networkd-network.c

index 45c1ab0..8e7cdf6 100644 (file)
@@ -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);