]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix leak of relocs along do_execbuffer error path
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 31 Jan 2010 10:40:48 +0000 (10:40 +0000)
committerEric Anholt <eric@anholt.net>
Thu, 4 Feb 2010 17:04:01 +0000 (09:04 -0800)
commitbd14d770005bce71f295abedb9af491112b64027
treeb3b0bf319cc00cee85cc005174b6b83f609bdaf7
parent87e7de08b453a017efd859a8b2585a78e637047b
drm/i915: Fix leak of relocs along do_execbuffer error path

Following a gpu hang, we would leak the relocation buffer. So simply
earrange the error path to always free the relocation buffer.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem.c