drivers/video: fsl-diu-fb: fix memory leak on error
authorTimur Tabi <timur@freescale.com>
Thu, 15 Sep 2011 21:44:55 +0000 (16:44 -0500)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sun, 18 Sep 2011 20:08:57 +0000 (20:08 +0000)
commit589c797193547b12c34f80048440bc1cac242fec
tree55d484a48886987c6cb783f469f39b8adc0db4d3
parentec02dd23dc423cf019f660a63ac9c9d54840a473
drivers/video: fsl-diu-fb: fix memory leak on error

We were forgetting to unmap the video memory if fsl_diu_check_var() fails.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/fsl-diu-fb.c