From: Simos Xenitellis Date: Tue, 15 May 2018 11:34:38 +0000 (+0000) Subject: coverity: #1425802 X-Git-Tag: lxc-3.1.0~299^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e7cd2f7955b217c90c1e61b82a838a61d6dbab5;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 4f5b0751c..e31c0d77d 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -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; }