mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-04 20:15:19 +00: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>
(cherry picked from commit e49d792f29
)
This commit is contained in:
parent
a9846e98c7
commit
a25ac3ac7e
@ -926,6 +926,7 @@ retry:
|
||||
|
||||
cleanup:
|
||||
VIR_FREE(line);
|
||||
VIR_FREE(fslist);
|
||||
VIR_FORCE_FCLOSE(fp);
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user