Commit 370c7860 by S.Çağlar Onur

Set c to NULL after freeing it

parent 46bccf60
......@@ -299,6 +299,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