commit | 2e65c7a6a15f006bf720f555ad1b63c6aadc5c9f | [log] [tgz] |
---|---|---|
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | Wed Sep 26 13:02:56 2018 +0300 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Tue Oct 02 09:36:56 2018 +0300 |
tree | 6b04acbb84eaf46f72f7507bde7e410ca1514373 | |
parent | 08bafffe472cffb1eb9032b83aaef8560103ea3e [diff] |
drm/omap: fix use of freed memory omap_connector_destroy() does: kfree(omap_connector); omapdss_device_put(omap_connector->output); omapdss_device_put(omap_connector->display); Fix this by moving the kfree after the omapdss_device_puts. This bug was introduced in 949ea2ef3fed4e1d0f9b80ec21ed81a9833ac248 Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>