Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2498ce42 authored by Ralph Wuerthner's avatar Ralph Wuerthner Committed by Linus Torvalds
Browse files

alloc_vmap_area: fix memory leak



If alloc_vmap_area() fails the allocated struct vmap_area has to be freed.

Signed-off-by: default avatarRalph Wuerthner <ralphw@linux.vnet.ibm.com>
Reviewed-by: default avatarChristoph Lameter <cl@linux-foundation.org>
Reviewed-by: default avatarMinchan Kim <minchan.kim@gmail.com>
Cc: Nick Piggin <npiggin@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ca1eda2d
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