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 2abbcc0 commit 684826fCopy full SHA for 684826f
drivers/block/zram/zram_drv.c
@@ -2112,6 +2112,11 @@ static void zram_destroy_comps(struct zram *zram)
2112
zram->num_active_comps--;
2113
}
2114
2115
+ for (prio = ZRAM_SECONDARY_COMP; prio < ZRAM_MAX_COMPS; prio++) {
2116
+ kfree(zram->comp_algs[prio]);
2117
+ zram->comp_algs[prio] = NULL;
2118
+ }
2119
+
2120
zram_comp_params_reset(zram);
2121
2122
0 commit comments