drm/i915: Free stolen node on failed preallocation
authorBen Widawsky <ben@bwidawsk.net>
Wed, 17 Jul 2013 19:19:02 +0000 (12:19 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 17 Jul 2013 20:24:51 +0000 (22:24 +0200)
commitf7f181843e6c24644b4b71b8631a5ea87de05158
tree74af92a69e9f846b21ad7bbd55a713162fbdf1c1
parent5cef07e1628300aeda9ac9dae95a2b406175b3ff
drm/i915: Free stolen node on failed preallocation

The odds of this happening are *extremely* unlikely.

Reported-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_stolen.c