mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
libdm-stats: clear dms->regions in _stats_regions_destroy()
This commit is contained in:
parent
900d203586
commit
cb8c04760f
@ -347,6 +347,7 @@ static void _stats_regions_destroy(struct dm_stats *dms)
|
||||
}
|
||||
|
||||
dm_pool_free(mem, dms->regions);
|
||||
dms->regions = NULL;
|
||||
}
|
||||
|
||||
static void _stats_group_destroy(struct dm_stats_group *group)
|
||||
|
Loading…
Reference in New Issue
Block a user