mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
LXC: fix memory leak in lxcContainerMountFSBlockAuto
we forgot to free fslist,just add VIR_FREE(fslist). Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
This commit is contained in:
@@ -895,6 +895,7 @@ retry:
|
||||
|
||||
cleanup:
|
||||
VIR_FREE(line);
|
||||
VIR_FREE(fslist);
|
||||
VIR_FORCE_FCLOSE(fp);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user