1
0
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:
David Teigland 2024-04-03 15:59:25 -05:00
parent 6d6e8d69eb
commit c78970c0d0

View File

@ -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. */