"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "58e868be77bda526cc8d4264488ed393bc607720"
slab, kmemleak: stop calling kmemleak_erase() unconditionally
When the gotten object is NULL (probably due to ENOMEM), kmemleak_erase() is unnecessary here, It just sets NULL to where already is NULL. Add a condition. Acked-by:Catalin Marinas <catalin.marinas@arm.com> Signed-off-by:
J. R. Okajima <hooanon05@yahoo.co.jp> Signed-off-by:
Pekka Enberg <penberg@cs.helsinki.fi>
Loading
Please register or sign in to comment