summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2017-03-12 08:16:03 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-03-12 08:16:03 +0000
commited15ac577e55fbb6895b1712b16e3b317417e6b2 (patch)
tree77eb17c9663e1bb3bb80c47f4b03230fb22b4575
parent48d4f39d94bc2641d15b0f32ffa22504acdf4071 (diff)
parent6a284310d5dd7faa9c185863583f55ab1b6679ce (diff)
dm stats: fix a leaked s->histogram_boundaries array
am: 6a284310d5 Change-Id: Iffdf38daa52f8e2386d20f50ae62dae523c41991
-rw-r--r--drivers/md/dm-stats.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-stats.c b/drivers/md/dm-stats.c
index 8289804ccd99..d5ea9f28ae70 100644
--- a/drivers/md/dm-stats.c
+++ b/drivers/md/dm-stats.c
@@ -175,6 +175,7 @@ static void dm_stat_free(struct rcu_head *head)
int cpu;
struct dm_stat *s = container_of(head, struct dm_stat, rcu_head);
+ kfree(s->histogram_boundaries);
kfree(s->program_id);
kfree(s->aux_data);
for_each_possible_cpu(cpu) {