mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 12:37:35 +00:00
coverity: #1425802
Resource leak Signed-off-by: Simos Xenitellis <simos.lists@googlemail.com>
This commit is contained in:
parent
b5ead53aaf
commit
1e7cd2f795
@ -4500,6 +4500,7 @@ void suggest_default_idmap(void)
|
|||||||
ERROR("You do not have subuids or subgids allocated");
|
ERROR("You do not have subuids or subgids allocated");
|
||||||
ERROR("Unprivileged containers require subuids and subgids");
|
ERROR("Unprivileged containers require subuids and subgids");
|
||||||
free(uname);
|
free(uname);
|
||||||
|
free(gname);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user