On 2012年06月15日 15:41, Gao feng wrote:
kill the "return 0;" code, it will cause memory leak.
Signed-off-by: Gao feng<gaofeng(a)cn.fujitsu.com>
---
src/lxc/lxc_container.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c
index 87de463..a54c385 100644
--- a/src/lxc/lxc_container.c
+++ b/src/lxc/lxc_container.c
@@ -1423,7 +1423,6 @@ static int lxcContainerSetupExtraMounts(virDomainDefPtr vmDef,
goto cleanup;
VIR_DEBUG("Mounting completed");
- return 0;
ret = 0;
ACK