video: add missing framebuffer_release in error path
authoraxel lin <axel.lin@gmail.com>
Tue, 15 Feb 2011 09:35:02 +0000 (09:35 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 22 Mar 2011 07:35:44 +0000 (16:35 +0900)
commit6359691d7efc639bf0f996aa9a694b2653fc6ae6
treea76c58a8cd68eb2a745b5b8928a4659a4fb56af1
parent1e93f390e56d82c4fcf684c86a45e1c593dc4b28
video: add missing framebuffer_release in error path

This patch fixes a memory leak in the error path.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/cg14.c
drivers/video/cg6.c
drivers/video/tcx.c