mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-09 18:03:17 +03:00
lvmdevices: fix memleak of done_old du
'done_old' list missed released.
This commit is contained in:
parent
eba277bca8
commit
6172db5326
@ -554,6 +554,7 @@ restart4:
|
||||
|
||||
dm_list_splice(&cmd->use_devices, &use_new);
|
||||
dm_list_splice(&cmd->use_devices, &done_new);
|
||||
free_dus(&done_old);
|
||||
}
|
||||
|
||||
int lvmdevices(struct cmd_context *cmd, int argc, char **argv)
|
||||
|
Loading…
Reference in New Issue
Block a user