lxccontainer: non-functional changes

parent 82cdb212
......@@ -341,7 +341,9 @@ int lxc_container_put(struct lxc_container *c)
if (container_mem_lock(c))
return -1;
if (--c->numthreads < 1) {
c->numthreads--;
if (c->numthreads < 1) {
container_mem_unlock(c);
lxc_container_free(c);
return 1;
......
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