]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
video: sa1100fb: fix video memory allocation leak
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 17 Oct 2017 14:01:13 +0000 (16:01 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 17 Oct 2017 14:01:13 +0000 (16:01 +0200)
commit0ab76581a9fee0413c54907076fcd79fcc271843
treed4e44828f01f82426924cab3de91f9e15c650263
parentc244f8e48c9f1875101201eaa0ecd2bfb17a5405
video: sa1100fb: fix video memory allocation leak

Don't leak the video memory allocation if register_framebuffer() fails.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/sa1100fb.c