staging: drm/imx: fix double free bug in error path
authorLothar Waßmann <LW@KARO-electronics.de>
Tue, 25 Dec 2012 14:58:39 +0000 (15:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 20:27:52 +0000 (12:27 -0800)
kfree(imx_drm_encoder) is already being called at the label
'err_register'.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found