diff options
author | axel lin <axel.lin@gmail.com> | 2011-02-15 10:35:02 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-03-22 08:35:44 +0100 |
commit | 6359691d7efc639bf0f996aa9a694b2653fc6ae6 (patch) | |
tree | a76c58a8cd68eb2a745b5b8928a4659a4fb56af1 /drivers/video/tcx.c | |
parent | video: metronomefb: add __devexit_p around reference to metronomefb_remove (diff) | |
download | linux-6359691d7efc639bf0f996aa9a694b2653fc6ae6.tar.xz linux-6359691d7efc639bf0f996aa9a694b2653fc6ae6.zip |
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>
Diffstat (limited to 'drivers/video/tcx.c')
-rw-r--r-- | drivers/video/tcx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/tcx.c b/drivers/video/tcx.c index 855b71993f61..07c66e946634 100644 --- a/drivers/video/tcx.c +++ b/drivers/video/tcx.c @@ -480,6 +480,7 @@ out_dealloc_cmap: out_unmap_regs: tcx_unmap_regs(op, info, par); + framebuffer_release(info); out_err: return err; |