diff options
author | Chris Wilson <[email protected]> | 2016-05-06 12:47:45 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-05-18 10:42:01 +0200 |
commit | e2d800a3ce1b16a9c25fc6ca91f26df5509ca11d (patch) | |
tree | 61cab4ecdf3ca2ebd1761ba0c8f446a99de7afb0 /tools | |
parent | 255f0e7c418ad95a4baeda017ae6182ba9b3c423 (diff) |
drm: Avoid connector reference imbalance on error path
Whilst looking at the fallout from using connector references for
atomic, I noticed that there is an early return buried in
drm_atomic_set_crtc_for_connector() that if hit could cause us to leak a
reference on the connector.
Fixes: d2307dea14 (drm/atomic: use connector references (v3))
Signed-off-by: Chris Wilson <[email protected]>
Cc: Daniel Stone <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Dave Airlie <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions