Unverified Commit 21e20322 by Christian Brauner Committed by GitHub

Merge pull request #2385 from 2xsec/coverity

coverity: #1425836
parents 0b4ffe74 80758b4b
......@@ -4470,8 +4470,11 @@ on_error:
if (pid > 0)
ret = wait_for_pid(pid);
if (idmap)
if (idmap) {
lxc_free_idmap(idmap);
free(idmap);
}
if (host_uid_map && (host_uid_map != container_root_uid))
free(host_uid_map);
if (host_gid_map && (host_gid_map != container_root_gid))
......
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