Skip to content

Commit

Permalink
confile: free netdev->downscript
Browse files Browse the repository at this point in the history
Signed-off-by: 0x0916 <w@laoqinren.net>
  • Loading branch information
0x0916 committed Jun 27, 2017
1 parent 3129a46 commit e076291
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lxc/confile_legacy.c
Expand Up @@ -115,6 +115,7 @@ static void lxc_remove_nic(struct lxc_list *it)
if (netdev->type == LXC_NET_VETH)
free(netdev->priv.veth_attr.pair);
free(netdev->upscript);
free(netdev->downscript);
free(netdev->hwaddr);
free(netdev->mtu);
free(netdev->ipv4_gateway);
Expand Down

0 comments on commit e076291

Please sign in to comment.