mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-05 13:18:20 +03:00
Remove comment about allocation of pv->vg_name.
This commit is contained in:
parent
0283c439ec
commit
0f8387c2d6
@ -710,12 +710,6 @@ pv_t *pv_create(const struct format_type *fmt,
|
|||||||
|
|
||||||
static void _free_pv(struct dm_pool *mem, struct physical_volume *pv)
|
static void _free_pv(struct dm_pool *mem, struct physical_volume *pv)
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* FIXME: leak pv->vg_name
|
|
||||||
* Adding dm_pool_free(mem, pv->vg_name) - causes warning w/'const'
|
|
||||||
* Perhaps pv->vg_name should be initialized to ORPHAN, not alloc'd
|
|
||||||
* memory?
|
|
||||||
*/
|
|
||||||
dm_pool_free(mem, pv);
|
dm_pool_free(mem, pv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user