summaryrefslogtreecommitdiffstats
path: root/src/crush/crush.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crush/crush.c')
-rw-r--r--src/crush/crush.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crush/crush.c b/src/crush/crush.c
index 388d18b5af0..1f7cc0c2e6a 100644
--- a/src/crush/crush.c
+++ b/src/crush/crush.c
@@ -88,6 +88,8 @@ void crush_destroy_bucket_list(struct crush_bucket_list *b)
void crush_destroy_bucket_tree(struct crush_bucket_tree *b)
{
+ kfree(b->h.perm);
+ kfree(b->h.items);
kfree(b->node_weights);
kfree(b);
}