1
0
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:
Zdenek Kabelac 2024-03-29 22:44:48 +01:00
parent eba277bca8
commit 6172db5326

View File

@ -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)