LXC: fix memory leak in lxcContainerSetupExtraMounts

kill the "return 0;" code, it will cause memory leak.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
This commit is contained in:
Gao feng 2012-06-15 15:41:04 +08:00 committed by Eric Blake
parent 3c42abe661
commit 0896265cf7

View File

@ -1425,7 +1425,6 @@ static int lxcContainerSetupExtraMounts(virDomainDefPtr vmDef,
goto cleanup;
VIR_DEBUG("Mounting completed");
return 0;
ret = 0;