+2
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>