Skip to content
Snippets Groups Projects
Commit 7e2bfaf5 authored by Kemeng Shi's avatar Kemeng Shi Committed by Yang Yingliang
Browse files

etmem_scan: fix memleak in vm_idle_read


euleros inclusion
category: bugfix
bugzilla: NA

------------------------------

Struct page_idle_ctrl is alloced at beginning of vm_idle_read, but
it's not freed when vm_idle_read ends.

Fixes: bad4d883 ("etmem: add etmem-scan feature")
Signed-off-by: default avatarKemeng Shi <shikemeng@huawei.com>
Reviewed-by: default avatarJing <Xiangfeng&lt;jingxiangfeng@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent edf4a501
No related branches found
No related tags found
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