aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorHangyu Hua <[email protected]>2022-06-24 06:04:06 -0700
committerRodrigo Vivi <[email protected]>2022-07-12 18:16:40 -0400
commit046cd8a2a9eec7c2b46b03958a2b6252ddff55b2 (patch)
treec7ffc10b70ff38fe7c7f59fc8e2d0f49f63aae24 /tools/perf/util/scripting-engines/trace-event-perl.c
parent32346491ddf24599decca06190ebca03ff9de7f8 (diff)
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 <[email protected]> Reviewed-by: José Roberto de Souza <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: José Roberto de Souza <[email protected]> (cherry picked from commit cea9ed611e85d36a05db52b6457bf584b7d969e2) Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions