]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
cgroups: free correct path
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 17 Feb 2021 23:35:22 +0000 (00:35 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 17 Feb 2021 23:39:22 +0000 (00:39 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgroup.c

index 4fb92698e3b8735c60708b4730ceb9d0b62e4949..ddd16a3be3ddc5d61067cf23c74e9a0eee787dfa 100644 (file)
@@ -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);
                }
 
                {