We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48ec632 commit f4a04c9Copy full SHA for f4a04c9
fs/ubifs/super.c
@@ -923,8 +923,10 @@ static void free_buds(struct ubifs_info *c)
923
{
924
struct ubifs_bud *bud, *n;
925
926
- rbtree_postorder_for_each_entry_safe(bud, n, &c->buds, rb)
+ rbtree_postorder_for_each_entry_safe(bud, n, &c->buds, rb) {
927
+ kfree(bud->log_hash);
928
kfree(bud);
929
+ }
930
}
931
932
/**
@@ -1193,6 +1195,7 @@ static void destroy_journal(struct ubifs_info *c)
1193
1195
1194
1196
bud = list_entry(c->old_buds.next, struct ubifs_bud, list);
1197
list_del(&bud->list);
1198
1199
1200
1201
ubifs_destroy_idx_gc(c);
0 commit comments