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