summaryrefslogtreecommitdiffstats
path: root/net/Kconfig
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-06-25 14:55:56 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2022-07-12 12:29:36 +0200
commit54eb7a55be6779c4d0c25eaf5056498a28595049 (patch)
tree1fbdb641c17c178c6162301a822957c0707c21a1 /net/Kconfig
parent2e531bc3e0d86362fcd8a577b3278d9ef3cc2ba0 (diff)
downloadlinux-54eb7a55be6779c4d0c25eaf5056498a28595049.tar.bz2
memstick/ms_block: Fix a memory leak
'erased_blocks_bitmap' is never freed. As it is allocated at the same time as 'used_blocks_bitmap', it is likely that it should be freed also at the same time. Add the corresponding bitmap_free() in msb_data_clear(). Fixes: 0ab30494bc4f ("memstick: add support for legacy memorysticks") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/b3b78926569445962ea5c3b6e9102418a9effb88.1656155715.git.christophe.jaillet@wanadoo.fr Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'net/Kconfig')
0 files changed, 0 insertions, 0 deletions