summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);