1
0
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:
Bryn M. Reeves 2016-12-09 15:47:55 +00:00
parent 900d203586
commit cb8c04760f

View File

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