From: Christian Brauner Date: Mon, 4 Sep 2017 11:26:40 +0000 (+0200) Subject: conf: do not free static memory X-Git-Tag: lxc-2.0.9~48^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b96777a023ed7b9ee8844bea4e2fa895306b8db;p=thirdparty%2Flxc.git conf: do not free static memory Signed-off-by: Christian Brauner --- diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 0328d1759..05fb8e54e 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -3242,10 +3242,6 @@ static void lxc_remove_nic(struct lxc_list *it) lxc_list_del(it); - free(netdev->link); - free(netdev->name); - if (netdev->type == LXC_NET_VETH) - free(netdev->priv.veth_attr.pair); free(netdev->upscript); free(netdev->downscript); free(netdev->hwaddr);