From: Simos Xenitellis Date: Tue, 15 May 2018 11:37:14 +0000 (+0000) Subject: coverity: #1425844 X-Git-Tag: lxc-2.0.10~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=670c689bea8c1395a14da32427c7c6b92652cf24;p=thirdparty%2Flxc.git coverity: #1425844 Resource leak Signed-off-by: Simos Xenitellis --- diff --git a/src/lxc/conf.c b/src/lxc/conf.c index fe79d26e6..3e503dec7 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -4226,6 +4226,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; }