From: 0x0916 Date: Tue, 27 Jun 2017 14:12:38 +0000 (+0800) Subject: confile: free netdev->downscript X-Git-Tag: lxc-2.1.0~79^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1652%2Fhead;p=thirdparty%2Flxc.git confile: free netdev->downscript Signed-off-by: 0x0916 --- diff --git a/src/lxc/confile_legacy.c b/src/lxc/confile_legacy.c index 7f86cdb0e..bb5c63c52 100644 --- a/src/lxc/confile_legacy.c +++ b/src/lxc/confile_legacy.c @@ -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);