commit | 868d665b43473e230d560d5186535270a3d57a19 | [log] [tgz] |
---|---|---|
author | Christoph Jaeger <christophjaeger@linux.com> | Fri Jun 13 21:51:22 2014 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Jun 13 22:08:15 2014 +0200 |
tree | 9c23994063248caf4992801eae8ad34a72a153fc | |
parent | 5755c78f771b1c71974c466cfece9b4524898a4c [diff] |
drm/i915: Fix memory leak in intel_dsi_init() error path intel_dsi_init() bails out without freeing the memory 'intel_dsi' and 'intel_connector' point to. Simply bail out before allocating memory. Picked up by Coverity - CID 1222750. Signed-off-by: Christoph Jaeger <christophjaeger@linux.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>