The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2328
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Resource leak Signed-off-by: Simos Xenitellis <simos.li...@googlemail.com>
From e4a63629a9b39b14339d71ccca0614f670002781 Mon Sep 17 00:00:00 2001 From: Simos Xenitellis <simos.li...@googlemail.com> Date: Tue, 15 May 2018 11:34:38 +0000 Subject: [PATCH] coverity: #1425802 Resource leak Signed-off-by: Simos Xenitellis <simos.li...@googlemail.com> --- src/lxc/conf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index e854b8b03..690633bfd 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(gname); return; }
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel