mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 20:25:38 +03:00
networkd: unref tunnel
Unref tunnel while shutting down
This commit is contained in:
parent
326cb4061a
commit
889a044ddc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user