From: Russell King Date: Mon, 16 Dec 2013 11:33:24 +0000 (+0000) Subject: imx-drm: imx-drm-core: fix error cleanup path for imx_drm_add_crtc() X-Git-Tag: v3.13-rc5~26^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82832046e285952f14e707647f9ef82466c883cc;p=pandora-kernel.git 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 Acked-by: Sascha Hauer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed