From 0896265cf742715f9a45f779fbc33f30964dc065 Mon Sep 17 00:00:00 2001 From: Gao feng Date: Fri, 15 Jun 2012 15:41:04 +0800 Subject: [PATCH] LXC: fix memory leak in lxcContainerSetupExtraMounts kill the "return 0;" code, it will cause memory leak. Signed-off-by: Gao feng --- src/lxc/lxc_container.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c index b27a5371e2..b3727aadae 100644 --- a/src/lxc/lxc_container.c +++ b/src/lxc/lxc_container.c @@ -1425,7 +1425,6 @@ static int lxcContainerSetupExtraMounts(virDomainDefPtr vmDef, goto cleanup; VIR_DEBUG("Mounting completed"); - return 0; ret = 0; -- GitLab