1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

toollib: Fix a pool leak in _process_all_devs.

This commit is contained in:
Petr Rockai 2014-01-13 11:26:43 +01:00
parent e892ac7398
commit 5f7286f15d

View File

@ -777,6 +777,8 @@ static int _process_all_devs(struct cmd_context *cmd, void *handle,
}
dev_iter_destroy(iter);
dm_list_iterate_items(pvl, pvslist)
free_pv_fid(pvl->pv);
return ret_max;
}