commit | 82832046e285952f14e707647f9ef82466c883cc | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Mon Dec 16 11:33:24 2013 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Dec 17 17:09:51 2013 -0800 |
tree | 5b61118631833b4d996b6c5c2d5fe4e55d2c736f | |
parent | c6236c0ce39c809c336ca929f68cf8ad02cf94e0 [diff] |
imx-drm: imx-drm-core: fix error cleanup path for imx_drm_add_crtc() imx_drm_add_crtc() was kfree'ing the imx_drm_crtc structure while leaving it on the list of CRTCs. Delete it from the list first. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>