Unverified Commit 327653be by S.Çağlar Onur Committed by Christian Brauner

Set c to NULL after freeing it

parent c7a010f1
......@@ -296,6 +296,7 @@ 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