Use intel_crtc_destroy_state to avoid leakage of any resources instead of the usual kfree Signed-off-by: Suraj Kandpal <suraj.kandpal@xxxxxxxxx> Suraj Kandpal (2): drm/i915/display: Use intel_crtc_destroy_state instead kfree drm/i915/display: Use correct method to free crtc_state drivers/gpu/drm/i915/display/intel_display.c | 4 ++-- drivers/gpu/drm/i915/display/intel_dpll.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) -- 2.25.1