aboutsummaryrefslogtreecommitdiff
path: root/libdm/libdm-stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdm/libdm-stats.c')
-rw-r--r--libdm/libdm-stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/libdm-stats.c b/libdm/libdm-stats.c
index ee62fe6ac..d3ae1f285 100644
--- a/libdm/libdm-stats.c
+++ b/libdm/libdm-stats.c
@@ -199,7 +199,7 @@ static void _stats_histograms_destroy(struct dm_pool *mem,
return;
/*
- * Only the first histogram needs to be freed explicitly.
+ * Free everything in the pool back to the first histogram.
*/
if (region->counters[0].histogram)
dm_pool_free(mem, region->counters[0].histogram);