Unverified Commit de60a7fe by Christian Brauner Committed by GitHub

Merge pull request #2768 from caglar10ur/revert-2763-dangling

Revert "Set c to NULL after freeing it"
parents 5f666a8f 4bcf92a3
......@@ -299,7 +299,6 @@ static void lxc_container_free(struct lxc_container *c)
c->config_path = NULL;
free(c);
c = NULL;
}
/* Consider the following case:
......
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