Commit 146f278
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: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231010183101.704439-2-suraj.kandpal@intel.com1 parent 2250c7e commit 146f278
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3999 | 3999 | | |
4000 | 4000 | | |
4001 | 4001 | | |
4002 | | - | |
| 4002 | + | |
4003 | 4003 | | |
4004 | 4004 | | |
4005 | 4005 | | |
| |||
4008 | 4008 | | |
4009 | 4009 | | |
4010 | 4010 | | |
4011 | | - | |
| 4011 | + | |
4012 | 4012 | | |
4013 | 4013 | | |
4014 | 4014 | | |
| |||
0 commit comments