]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
confile: free netdev->downscript
author0x0916 <w@laoqinren.net>
Tue, 27 Jun 2017 14:12:38 +0000 (22:12 +0800)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 15 Aug 2017 22:56:17 +0000 (18:56 -0400)
Signed-off-by: 0x0916 <w@laoqinren.net>
src/lxc/conf.c

index 67ef58b213acfe9d5a5cda4f6d384c7985c5f918..5d583d5f47b84355695953918ac1b3d546bdccf2 100644 (file)
@@ -4455,6 +4455,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);