mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-03 17:47:44 +03:00
Fix memory leak of vg_read while using live copies of metadata in directories.
This commit is contained in:
parent
5b35bbdf1b
commit
cfbbf34d6a
@ -1,5 +1,6 @@
|
||||
Version 2.02.75 -
|
||||
=====================================
|
||||
Fix memory leak of vg_read while using live copies of metadata in directories.
|
||||
Fix memory leak of config_tree in reinitialization code path.
|
||||
Swap pool destruction order in dmeventd_lvm2_exit() to fix leak report.
|
||||
Read whole /proc/self/maps file before working with maps entries.
|
||||
|
@ -1083,9 +1083,11 @@ static int _scan_file(const struct format_type *fmt)
|
||||
fid = _text_create_text_instance(fmt, NULL, NULL,
|
||||
NULL);
|
||||
if ((vg = _vg_read_file_name(fid, vgname,
|
||||
path)))
|
||||
path))) {
|
||||
/* FIXME Store creation host in vg */
|
||||
lvmcache_update_vg(vg, 0);
|
||||
dm_pool_destroy(vg->vgmem);
|
||||
}
|
||||
}
|
||||
|
||||
if (closedir(d))
|
||||
|
Loading…
x
Reference in New Issue
Block a user