Skip to content

Commit

Permalink
coverity: #1425802
Browse files Browse the repository at this point in the history
Resource leak

Signed-off-by: Simos Xenitellis <simos.lists@googlemail.com>
  • Loading branch information
Simos Xenitellis authored and Christian Brauner committed May 21, 2018
1 parent 556783f commit e37266a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lxc/conf.c
Expand Up @@ -4500,6 +4500,7 @@ void suggest_default_idmap(void)
ERROR("You do not have subuids or subgids allocated");
ERROR("Unprivileged containers require subuids and subgids");
free(uname);
free(gname);
return;
}

Expand Down

0 comments on commit e37266a

Please sign in to comment.