start: don't call cgroup_exit() twice

parent 34fcc38d
...@@ -988,7 +988,6 @@ void lxc_fini(const char *name, struct lxc_handler *handler) ...@@ -988,7 +988,6 @@ void lxc_fini(const char *name, struct lxc_handler *handler)
free(namespaces[namespace_count]); free(namespaces[namespace_count]);
cgroup_ops->destroy(cgroup_ops, handler); cgroup_ops->destroy(cgroup_ops, handler);
cgroup_exit(cgroup_ops);
if (handler->conf->reboot == REBOOT_NONE) { if (handler->conf->reboot == REBOOT_NONE) {
/* For all new state clients simply close the command socket. /* For all new state clients simply close the command socket.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment