]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
start: don't call cgroup_exit() twice 2735/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 22 Nov 2018 22:19:09 +0000 (23:19 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 22 Nov 2018 22:19:09 +0000 (23:19 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/start.c

index c094642addd890e27d7a2ad58dc674a6063a1e11..72e2de271553d79d69729e796ae1e7053f7ed7ae 100644 (file)
@@ -988,7 +988,6 @@ void lxc_fini(const char *name, struct lxc_handler *handler)
                free(namespaces[namespace_count]);
 
        cgroup_ops->destroy(cgroup_ops, handler);
-       cgroup_exit(cgroup_ops);
 
        if (handler->conf->reboot == REBOOT_NONE) {
                /* For all new state clients simply close the command socket.