Commit 146f2789 authored by Suraj Kandpal's avatar Suraj Kandpal Committed by Ville Syrjälä
Browse files

drm/i915/display: Use intel_crtc_destroy_state instead kfree



intel_encoder_current_mode() seems to leak some resource because
it uses kfree instead of intel_crtc_destroy_state let us fix that.

Signed-off-by: default avatarSuraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231010183101.704439-2-suraj.kandpal@intel.com
parent 2250c7ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment