coverity: #1426083

Dereference after null check Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent cb8ff4d0
...@@ -56,7 +56,7 @@ void *ns_sharing_wrapper(void *data) ...@@ -56,7 +56,7 @@ void *ns_sharing_wrapper(void *data)
c = lxc_container_new(name, NULL); c = lxc_container_new(name, NULL);
if (!c) { if (!c) {
lxc_error("Failed to create container \"%s\"\n", name); lxc_error("Failed to create container \"%s\"\n", name);
goto out; return NULL;
} }
if (c->is_defined(c)) { if (c->is_defined(c)) {
......
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