From: Christian Brauner Date: Wed, 17 Feb 2021 23:35:22 +0000 (+0100) Subject: cgroups: free correct path X-Git-Tag: lxc-5.0.0~278^2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11e5c6783e0a1dc40f606e492c169b75c696ae1d;p=thirdparty%2Flxc.git cgroups: free correct path Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cgroups/cgroup.c b/src/lxc/cgroups/cgroup.c index 4fb92698e..ddd16a3be 100644 --- a/src/lxc/cgroups/cgroup.c +++ b/src/lxc/cgroups/cgroup.c @@ -96,7 +96,7 @@ void cgroup_exit(struct cgroup_ops *ops) free((*it)->container_full_path); if ((*it)->container_full_path != (*it)->container_limit_path) - free((*it)->monitor_full_path); + free((*it)->container_limit_path); } {