From: Simos Xenitellis Date: Tue, 15 May 2018 11:37:14 +0000 (+0000) Subject: coverity: #1425844 X-Git-Tag: lxc-3.1.0~305^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2329%2Fhead;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 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; }