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

Remove comment about allocation of pv->vg_name.

This commit is contained in:
Dave Wysochanski 2007-10-12 21:08:38 +00:00
parent 0283c439ec
commit 0f8387c2d6

View File

@ -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)
{
/*
* 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);
}