Skip to content
Commit 1383b347 authored by Zhao Heming's avatar Zhao Heming Committed by Song Liu
Browse files

md/bitmap: fix memory leak of temporary bitmap



Callers of get_bitmap_from_slot() are responsible to free the bitmap.

Suggested-by: default avatarGuoqing Jiang <guoqing.jiang@cloud.ionos.com>
Signed-off-by: default avatarZhao Heming <heming.zhao@suse.com>
Signed-off-by: default avatarSong Liu <songliubraving@fb.com>
parent cf0b9b48
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment