From: Paulo Zanoni Date: Wed, 9 Oct 2013 16:52:36 +0000 (-0300) Subject: drm/i915: don't leak dp_connector at intel_ddi_init X-Git-Tag: v3.13-rc1~76^2~68^2~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a28ae58c0abad2d45a45db21e86c7166b2b4462;p=pandora-kernel.git drm/i915: don't leak dp_connector at intel_ddi_init Regression introduced by: commit 311a20949f047a70935d6591010f42336f5402e7 Author: Paulo Zanoni 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 Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed