Unverified Commit d734e611 by Stéphane Graber Committed by GitHub

Merge pull request #3741 from brauner/2021-03-27/fixes_2

confile_utils: free list during lxc_remove_nic_by_idx()
parents cc98c470 9a096e98
......@@ -466,6 +466,7 @@ bool lxc_remove_nic_by_idx(struct lxc_conf *conf, unsigned int idx)
lxc_list_del(cur);
lxc_free_netdev(netdev);
free(cur);
return true;
}
......
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