Skip to content
Commit af7bcee2 authored by Pan Bian's avatar Pan Bian Committed by Richard Weinberger
Browse files

ubi: fastmap: Use kmem_cache_free to deallocate memory



Memory allocated by kmem_cache_alloc() should not be deallocated with
kfree(). Use kmem_cache_free() instead.

Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent a51a0c8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment