mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmcache: free list of add_cache_devs
This commit is contained in:
parent
6d6e8d69eb
commit
c78970c0d0
2
lib/cache/lvmcache.c
vendored
2
lib/cache/lvmcache.c
vendored
@ -1687,6 +1687,8 @@ int lvmcache_label_scan(struct cmd_context *cmd)
|
||||
label_scan_dev(cmd, devl->dev);
|
||||
}
|
||||
|
||||
_destroy_device_list(&add_cache_devs);
|
||||
|
||||
dm_list_splice(&_unused_duplicates, &del_cache_devs);
|
||||
|
||||
/* Warn about unused duplicates that the user might want to resolve. */
|
||||
|
Loading…
Reference in New Issue
Block a user