diff options
author | 2022-06-24 06:04:06 -0700 | |
---|---|---|
committer | 2022-06-28 06:13:04 -0700 | |
commit | cea9ed611e85d36a05db52b6457bf584b7d969e2 (patch) | |
tree | 0aa43d9a675ebea7ba5c537df6982ad224b4c8b7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Fix error code in icl_compute_combo_phy_dpll() (diff) | |
download | linux-dev-cea9ed611e85d36a05db52b6457bf584b7d969e2.tar.xz linux-dev-cea9ed611e85d36a05db52b6457bf584b7d969e2.zip |
drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector()
If drm_connector_init fails, intel_connector_free will be called to take
care of proper free. So it is necessary to drop the refcount of port
before intel_connector_free.
Fixes: 091a4f91942a ("drm/i915: Handle drm-layer errors in intel_dp_add_mst_connector")
Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220624130406.17996-1-jose.souza@intel.com
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions