parent ab0df368
...@@ -477,7 +477,8 @@ void lxc_free_networks(struct lxc_list *networks) ...@@ -477,7 +477,8 @@ void lxc_free_networks(struct lxc_list *networks)
lxc_list_for_each_safe (cur, networks, next) { lxc_list_for_each_safe (cur, networks, next) {
struct lxc_netdev *netdev = cur->elem; struct lxc_netdev *netdev = cur->elem;
netdev = cur->elem;
lxc_list_del(cur);
lxc_free_netdev(netdev); lxc_free_netdev(netdev);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment