提交 0896265c 编写于 作者: G Gao feng 提交者: Eric Blake

LXC: fix memory leak in lxcContainerSetupExtraMounts

kill the "return 0;" code, it will cause memory leak.
Signed-off-by: NGao feng <gaofeng@cn.fujitsu.com>
上级 3c42abe6
......@@ -1425,7 +1425,6 @@ static int lxcContainerSetupExtraMounts(virDomainDefPtr vmDef,
goto cleanup;
VIR_DEBUG("Mounting completed");
return 0;
ret = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册