drm/i915: Don't leak VBT mode data
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 15 Sep 2015 02:24:18 +0000 (19:24 -0700)
committerJani Nikula <jani.nikula@intel.com>
Fri, 18 Sep 2015 11:20:28 +0000 (14:20 +0300)
commit9aa6114253a9d01513796f6b44eda9838dc7bf3b
tree7c1e669fba38eaf9ca8a1d2dc0359461dbf1f018
parentd637ce3f6dcc0bec950ed4e03e53162500d6b28b
drm/i915: Don't leak VBT mode data

We allocate memory for LVDS modes while parsing the VBT at startup, but
never free this memory when the driver is unloaded, causing a small
leak.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_dma.c