]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba4535296a82abf7ba6436a79aa93e4f84310031
tree7c1e669fba38eaf9ca8a1d2dc0359461dbf1f018
parentd63b33cfd4b30f5348eee6df38b9ca187f7694a0
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