mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
@@ -1425,7 +1425,6 @@ static int lxcContainerSetupExtraMounts(virDomainDefPtr vmDef,
|
||||
goto cleanup;
|
||||
|
||||
VIR_DEBUG("Mounting completed");
|
||||
return 0;
|
||||
|
||||
ret = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user