The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2394
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: Donghwa Jeong <[email protected]>
From 8f55c74292c5789bde980e2a2fbb2599c26bfa02 Mon Sep 17 00:00:00 2001 From: Donghwa Jeong <[email protected]> Date: Mon, 11 Jun 2018 11:24:46 +0900 Subject: [PATCH] coverity: #1425747 Resource leak Signed-off-by: Donghwa Jeong <[email protected]> --- src/lxc/lxccontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c index 1196656b2..4a8a56072 100644 --- a/src/lxc/lxccontainer.c +++ b/src/lxc/lxccontainer.c @@ -1384,7 +1384,7 @@ static bool create_run_template(struct lxc_container *c, char *tpath, ret = mount(src, bdev->dest, "bind", MS_BIND | MS_REC, NULL); if (ret < 0) { ERROR("Failed to mount rootfs"); - return -1; + _exit(EXIT_FAILURE); } } else { ret = bdev->ops->mount(bdev);
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
