[Intel-gfx] [PATCH] drm/i915: don't leak dp_connector at intel_ddi_init

Daniel Vetter daniel at ffwll.ch
Wed Oct 9 19:25:17 CEST 2013

On Wed, Oct 09, 2013 at 01:52:36PM -0300, Paulo Zanoni wrote:
> From: Paulo Zanoni <paulo.r.zanoni at intel.com>
> Regression introduced by:
>     commit 311a20949f047a70935d6591010f42336f5402e7
>     Author: Paulo Zanoni <paulo.r.zanoni at intel.com>
>         drm/i915: don't init DP or HDMI when not supported by DDI port
> Since the commit above it is possible to have a DDI encoder that has
> the HDMI connector but not the DP connector (in case the port doesn't
> support DP). In this case, we must properly free the DP connector.
> We just leak this once, so it's not a big deal.
> Reported by kmemleak.
> Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>

Queued for -next, thanks for the patch.
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

More information about the Intel-gfx mailing list