1
0
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:
Susant Sahani 2014-06-16 11:54:34 +05:30 committed by Tom Gundersen
parent 326cb4061a
commit 889a044ddc

View 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);