diff --git a/src/lxc/conf.c b/src/lxc/conf.c index e854b8b03..5c66c6f35 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -4497,6 +4497,7 @@ void suggest_default_idmap(void) if (!urange || !grange) { ERROR("You do not have subuids or subgids allocated"); ERROR("Unprivileged containers require subuids and subgids"); + free(uname); return; }