drm/i915: Plug memory leak in intel_shared_dpll_start_config()
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 7 Nov 2014 12:07:41 +0000 (14:07 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Nov 2014 09:53:04 +0000 (10:53 +0100)
commitf354d733f680ec9f9afed0d0fa6429ed259f0a52
tree101283208cf16a87865ef8b0cd14e40ea502ac19
parenteb84f976c88d72cbcbe756df38d1f19be3db77d6
drm/i915: Plug memory leak in intel_shared_dpll_start_config()

The cleanup path would reset pll->new_config to NULL but wouldn't free
the allocated memory.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c