]> 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)
commitf5301872eaa73583a68446de8bb4cb177d10931b
tree7c1e669fba38eaf9ca8a1d2dc0359461dbf1f018
parent0befc956fd04f3e5326e65217bfe16dbd2da7fea
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